Skip to content

Commit 82922bd

Browse files
tophtuckermbostock
andauthored
Edit documentation to cite Observable Cloud support for embedding (#1831)
* Notes on embedded analytics * "like" should not be used to mean "such as" and don't you forget it! Co-authored-by: Mike Bostock <[email protected]> --------- Co-authored-by: Mike Bostock <[email protected]>
1 parent 8f5200d commit 82922bd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/embeds.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ In addition to standalone apps, you can use Framework to embed interactive views
1010
- [exported files](#exported-files) for hotlinking images, data, and other assets, or
1111
- [iframe embeds](#iframe-embeds) for compatibility.
1212

13+
You can deploy to Observable Cloud for [additional features](https://observablehq.com/documentation/data-apps/embeds)<a href="https://github.com/observablehq/framework/releases/tag/v1.13.0" class="observablehq-version-badge" data-version="^1.13.0" title="Added in v1.13.0"></a> including secure private embedding on approved domains and analytics to see which exports are used.
14+
1315
## Exported modules
1416

1517
Framework allows [JavaScript modules](./imports#local-imports) to be exported for use in another application. Exported modules are vanilla JavaScript and behave identically in an external web application as on a Framework page. As with local modules, exported modules can load data from a [static file](./files) or a [data loader](./data-loaders), [import](./imports) other local modules, and import libraries from [npm](./imports#npm-imports) or [JSR](./imports#jsr-imports).
@@ -75,9 +77,9 @@ document.body.append(await Chart());
7577
</script>
7678
```
7779

78-
<div class="warning" label="Coming soon">
80+
<div class="tip">
7981

80-
Observable Cloud support for cross-origin resource sharing (CORS) is not yet generally available and is needed for exported modules. If you are interested in beta-testing this feature, please [email us](mailto:support@observablehq.com). For public apps, you can use a third-party host supporting CORS such as GitHub Pages.
82+
Observable Cloud supports [cross-origin resource sharing](https://observablehq.com/documentation/data-apps/embeds#cors) (CORS), which is needed for exported modules.
8183

8284
</div>
8385

0 commit comments

Comments
 (0)