You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# datepicker
|
|
|
|
|
|
|
|
Datepicker
|
|
|
|
|
|
|
|
Source: [https://gitea.node001.net/tiny-components/datepicker](https://gitea.node001.net/tiny-components/datepicker)
|
|
|
|
Mirror: [https://github.com/node001-net/tiny-components-datepicker](https://github.com/node001-net/tiny-components-datepicker)
|
|
|
|
|
|
|
|
![demo](example/demo.gif)
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Setup this registry in your project .npmrc file:
|
|
|
|
|
|
|
|
```
|
|
|
|
@tiny-components:registry=https://gitea.node001.net/api/packages/tiny-components/npm/
|
|
|
|
```
|
|
|
|
|
|
|
|
Install with npm or yarn
|
|
|
|
|
|
|
|
```
|
|
|
|
npm i --save @tiny-components/datepicker
|
|
|
|
yarn add @tiny-components/datepicker
|
|
|
|
```
|
|
|
|
|
|
|
|
## Using
|
|
|
|
|
|
|
|
```
|
|
|
|
<tiny-datepicker></tiny-datepicker>
|
|
|
|
```
|
|
|
|
|
|
|
|
## i18n
|
|
|
|
|
|
|
|
[List of locales](https://github.com/iamkun/dayjs/tree/dev/src/locale)
|
|
|
|
|
|
|
|
```
|
|
|
|
import de from 'dayjs/locale/de'
|
|
|
|
dayjs.locale('de')
|
|
|
|
```
|