svelte-winbox

svelte-winbox JS library on npm Download svelte-winbox JS library

A wrapper component for using WinBox.js in Svelte.

Version 0.0.2
svelte-winbox has no homepage
svelte-winbox JS library on GitHub
svelte-winbox JS library on npm
Download svelte-winbox JS library
<script type="module"> import svelteWinbox from 'https://cdn.jsdelivr.net/npm/svelte-winbox@0.0.2/+esm' </script>
Learn more

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>

Full documentation and demo coming soon!