Skip to content

ilyador/date-picker

Repository files navigation

Trax Simple Date-picker

Features:

  • Using Moment and Moment Range objects as model.
  • Lightweight.
  • 2 Month panes.
  • Plain text input of date and time.

Demo: https://trax-retail.github.io/date-picker


How to use:

The directive needs 3 items:

  • selection: A range object of the selection
  • active-dates [optional]: An array of range objects if you want to have only sepecific days shown as available (does not effect selection, only visual indicator)
  • on-apply: A function to run once you click apply

Creator: Ilya Dorman

About

A simple datepicker directive using Moment and Moment Range objects as a model

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published