Skip to content

v0.7.0

Choose a tag to compare

@githyperplexed githyperplexed released this 15 Jun 17:26
· 6 commits to main since this release

Added

  • icon and content now also accept a render callback — (host) => teardown — alongside an HTMLElement. The callback is handed a host element to populate and may return a cleanup that the manager runs when the bubble is removed or the manager is destroyed, so framework consumers (Svelte mount/unmount, React createRoot) no longer create a host element or track the unmount themselves. Passing an HTMLElement is unchanged. Exposes a BubbleSlot type.