Smelte logo
SMELTE
Github Smelte

Date pickers

I selected nothing
<script>
  import { DatePicker } from "smelte";
  let selected;
</script>

<div>
<small>I selected {selected ? selected.toLocaleDateString() : "nothing"}</small>
</div>
<DatePicker on:change={i => selected = i.detail } />