New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

angular-bootstrap-daterange-picker

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-bootstrap-daterange-picker

another Angular.js wrapper for bootstrap-daterangepicker

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

angular-bootstrap-daterange-picker

Sorry for my english,the code mainly from angular-daterangepicker,I found it can't work with ngModelController.$dirty and I can't commit PR using coffeescript,so I write this.

Installation

via npm

npm install angular-bootstrap-daterange-picker --save

via bower

bower install angular-bootstrap-daterange-picker --save

Getting Started

Declare dependency:

angular.module('demo', ['dateRangePicker']);

Prepare model in your controller. The model must have startDate and endDate attributes:

class DemoCtrl {
    constructor() {
        this.selectedDate = {
            startDate: null,
            endDate: null
        };
    }
}

html template

<div ng-controller="DemoCtrl as vm">
    <input date-range-picker type="text" 
        class="form-control date-picker" 
        ng-model="vm.selectedDate"/>
</div>

License

MIT

Keywords

angular

FAQs

Package last updated on 06 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts