From 9fdb4b1b1eba3e916cdfefe6ef5577feeb255b05 Mon Sep 17 00:00:00 2001 From: HerrHase Date: Fri, 19 May 2023 17:15:30 +0200 Subject: [PATCH] adding --- README.md | 11 +++++++++++ package.json | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3752f21..05c12d9 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package.json b/package.json index a497630..9c2cf6a 100644 --- a/package.json +++ b/package.json @@ -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",