Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lmelvin/lm-datepicker
A simple AngularJS 1.x directive for xdan/datetimepicker
https://github.com/lmelvin/lm-datepicker
Last synced: 2 days 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-18T04:41:46.000Z (about 7 years ago)
- Last Synced: 2024-11-10T03:48:00.014Z (6 days 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.|