项目
在 GitHub 查看
kasper9n/date-picker-svelte
关于
Date and time picker for Svelte
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Date Picker Svelte
Date and time picker for Svelte
Features:
- Theming
- Custom formats
- Internationalization (i18n)
- Autopunctuation (e.g typing "20201111111111" gives you "2020-11-11 11:11:11" with the default format)
- Keyboard shortcuts
Demo • Documentation • REPL

Install
npm install date-picker-svelte
Usage
<script>
import { DateInput } from 'date-picker-svelte'
let date = new Date()
</script>
<DateInput bind:value={date} />
Check the docs to learn more
Contributing
Get started
- Install Node.js (v14 works)
- Run
npm install
Commands
npm run dev: Start site in dev modenpm run build: Build package and sitenpm run preview: Preview production sitenpm run check: Runsvelte-checknpm run test: Run testsnpm run format: Format code
Publish new version
- Update
CHANGELOG.md - Check for errors
npm run lint - Bump the version number
npm version --no-git-tag <version> - Publish
npm publish - Commit with a tag in format "v#.#.#"
- Create GitHub release with release notes
探索相关项目
加载中…