angular2-daterangepicker
v0.0.5
Published
An Angular 2 Bootstrap daterangepicker wrapper
Downloads
102
Maintainers
Readme
angular2-daterangepicker
A simple Angular 2 directive that wraps the Bootstrap daterangepicker found at http://www.daterangepicker.com/. To use this directive, you must include jQuery, momentJS, and Bootstrap CSS.
Installing
To install as an NPM package, run npm install --save angular2-daterangepicker
. Make sure to include the provided css file.
Usage
Import the directive and provide it in the directives
array on your component. In your template, use daterangepicker
as an attribute on an input
element. There is one input binding of options
that expects an object of any options available at http://www.daterangepicker.com/#options.
example
included in files