npm

Need private packages and team management tools?Check out npm Orgs. »

angular-bootstrap-durationpicker

0.0.1 • Public • Published

angular-bootstrap-durationpicker Build Status

NPM and bower package for a simple AngularJS duration picker directive.

Usage

To install the package, run: npm install angular-bootstrap-durationpicker or bower install angular-bootstrap-durationpicker

Include the script and the css into your project:

<script src="node_modules/angular-bootstrap-durationpicker/dist/main.js"></script> (after having the angular.js included)

Insert the durationpicker directive into your template:

<div ng-init="offset = 12 * 60 * 60"> <!-- this is just for initializing the offset model, you can do it in the controller for example -->
    <durationpicker model="offset" hour-step="1" minute-step="5" min="-43200" max="43200" before-after-what="midnight" ></durationpicker>
</div>

License

MIT

install

npm i angular-bootstrap-durationpicker

Downloadsweekly downloads

1

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability