https://github.com/lmelvin/lm-datepicker
A simple AngularJS 1.x directive for xdan/datetimepicker
https://github.com/lmelvin/lm-datepicker
Last synced: 4 months ago
JSON representation
A simple AngularJS 1.x directive for xdan/datetimepicker
- Host: GitHub
- URL: https://github.com/lmelvin/lm-datepicker
- Owner: lmelvin
- License: mit
- Created: 2017-09-16T06:48:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-18T04:41:46.000Z (almost 8 years ago)
- Last Synced: 2025-02-13T10:19:31.793Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lm-datepicker
This is a simple AngularJS 1.x directive for [xdan/datetimepicker](https://github.com/xdan/datetimepicker)
### Installation
``bower install lm-datepicker``## Usage
##### Module
```javascript
angular.module('app', ['lm-datepicker']);
```##### Directive
The `datepicker` directive can only be used as an attribute```html
```
##### Attributes
| Param | Type | Details |
| ------------- |------------| ----- |
| options | object | This is an options object for jquery.datetimepicker. Please see [https://github.com/xdan/datetimepicker](https://github.com/xdan/datetimepicker) for full list of options. |
| parser | function | A parser function to be included in the ng-model pipline.|