svelte-winbox
v0.0.2
Published
A wrapper component for using WinBox.js in Svelte.
Downloads
7
Readme
svelte-winbox
A wrapper component for using WinBox.js in Svelte.
Install
npm i svelte-winbox
Basic Usage
<script lang="ts">
import { WinBox } from 'svelte-winbox';
let createWindow: () => void;
</script>
<button on:click={createWindow}>Create Window</button>
<WinBox bind:createWindow>
<span>Sveltekit ❤️ Winbox</span>
<p>This is Winbox running in Sveltekit!</p>
</WinBox>