Proyectos
Ver en GitHub
kasper9n/date-picker-svelte
Acerca de
Date and time picker for Svelte
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalDate 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
Explorar proyectos relacionados
Cargando…