@kuanyu0729/svelte-date-picker
v0.1.1
Published
## Usage
Downloads
17
Readme
Svelte date picker
Usage
This library is using typescript.
Installation
npm i -D @kuanyu0729/svelte-date-picker
Usage
get selected date
case 1
<script> import Calendar from "svelte-date-picker"; </script> <Calendar on:SelectedDate={event => { console.log(event.detail); }}/>
case 2
<script> import Calendar from "svelte-date-picker"; let date = new Date(); $: { console.log(date); } </script> <Calendar bind:date/>