Skip to content

ejfrias/bootstrap-datetimepicker-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

bootstrap-datetimepicker-angular

Angular 1.5.x Component for Eonasdan's bootstrap-datetimepicker

Demo

http://ejfrias.com/playground/bootstrap-datetimepicker-angular

Requirements

jQuery

Bootstrap

Eonasdan's date/time picker widget

How to use

Just add a bootstrap-datetimepicker-angular.js after bootstrap-datetimepicker.js:

<script src="/path/to/bootstrap-datetimepicker-angular.js"></script>

Require the component in your module

angular.module('myApp', ['bootstrap-datetimepicker-angular'])

Then, add the <date-time-picker /> component anywhere on your app:

<date-time-picker ng-model="date" placeholder="Pick a date"></date-time-picker>

Options

Name Type Required Description
ng-model string required Scope property.
placeholder string optional Placeholder of the input element.
format string optional DateTime format based from moment.js

About

Angular 1.5.x Component for Eonasdan's bootstrap-datetimepicker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published