@bokeh/svelte
v4.0.0-dev.5
Published
Svelte action for BokehJS
Keywords
Readme
@bokeh/svelte
Svelte actions for mounting BokehJS models with automatic cleanup.
npm install @bokeh/bokehjs @bokeh/svelte svelte<script>
import {bokeh} from "@bokeh/svelte"
export let model
</script>
<div use:bokeh={{model}}></div>The package also exports bokehDocument and bokehRoot for shared multi-root
documents. It is versioned and released with @bokeh/bokehjs. See the
BokehJS framework integration guide
for the lifecycle contract.
