angular2-daterangepicker

An Angular 2 Bootstrap daterangepicker wrapper

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
angular2-daterangepicker
0.0.57 years ago7 years agoMinified + gzip package size for angular2-daterangepicker in KB

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