svelte-bottom-menu
v1.0.5
Published
## Usage
Downloads
17
Readme
Svelte bottom menu
Usage
This library is using typescript.
How to use
Installation
npm i -D svelte-bottom-menu
Usage
<script>
import BottomMenu from "svelte-bottom-menu";
let active = false;
</script>
<div>
<button on:click={()=> active = true}>
active
</button>
<BottomMenu bind:active>
<div class="menu-content">
<h5>
Hello world!
</h5>
</div>
</BottomMenu>
</div>