@ -57,6 +57,17 @@ store.on('change', (data) => {
```
Send Datepicker a new Date,
import store from './store.js'
store.trigger('update', {
date: '2012-10-20'
})
## i18n
Names of Days and Months will be used from Day.js, [here is a list of supported languages](https://github.com/iamkun/dayjs/tree/dev/src/locale).
@ -1,10 +1,10 @@
{
"name": "@tiny-components/datepicker",
"version": "0.1.0",
"description": "Small fast slider for Desktop and Mobile",
"description": "Datepicker for Desktop and Mobile",
"repository": {
"type": "git",
"url": "git@gitea.node001.net:tiny-components/slider.git"
"url": "git@gitea.node001.net:tiny-components/datepicker.git"
},
"author": "Björn Hase",
"license": "MIT",