@zodiacko/vanillajs-datepicker

1.3.5 • Public • Published

Vanilla JS Datepicker

A vanilla JavaScript remake of bootstrap-datepicker for Bulma and other CSS frameworks

This package is written from scratch as ECMAScript modules/Sass stylesheets to reproduce similar usability to bootstrap-datepicker.
It can work either standalone or with CSS framework (e.g. Bootstrap, Foundation), but works best with Bulma as it's developed primarily for Bulma.

The package also includes pre-built js/css files for those who like to use it directly on browser.

Features

  • Date picker (input-dropdown, inline), date range picker
  • Keyboard operation support (navigation by arrow keys, editing on input field)
  • i18n support (locales, CSS-based text direction detection)
  • Easily customizable to adapt stylesheet for various CSS frameworks
  • Dependency free
  • Made for modern browsers — no support for IE and Edge Legacy (aka non-Chromium Edge)
    ** If you need to support Edge Legacy, Web Components polyfill will allow this library to run on it.
  • Lightweight (well, relatively…) — 35kB (minified, uncompressed, 11kB when gzipped)

Demo

Live Online Demo

Documentation

Online Docs

License

Package Sidebar

Install

npm i @zodiacko/vanillajs-datepicker

Weekly Downloads

3

Version

1.3.5

License

MIT

Unpacked Size

1.63 MB

Total Files

289

Last publish

Collaborators

  • zodiacko