UNPKG

@beyonk/svelte-toggle

Version:

<p align="center"> <img width="186" height="90" src="https://user-images.githubusercontent.com/218949/44782765-377e7c80-ab80-11e8-9dd8-fce0e37c235b.png" alt="Beyonk" /> </p>

11 lines (8 loc) 200 B
import Component from './Component.svelte' const target = document.createElement('div') document.body.appendChild(target) // eslint-disable-next-line no-new new Component({ target, props: {} })