0.2.9 • Published 9 years ago

angular-rome v0.2.9

Weekly downloads
1
License
Apache License 2....
Repository
-
Last release
9 years ago

Angular Rome

An Angular directive wrapping Rome.

Installation

npm

npm i angular-rome --save

Then inject it into your Angular module.

require('angular-rome');

angular.module('whatevs', [
  'rome'
]);

Usage

Basic Example

<rome ng-model="vm.whatevs"></rome>

All The Things

<rome ng-model="vm.whatevs" rome-time="true" rome-date="true" rome-initial-value="" rome-min="" rome-max="" rome-time-interval="" rome-input-format="" rome-week-start="" rome-before="" rome-before-eq="" rome-after="" rome-after-eq="" rome-months-in-calendar=""></rome>

Properties

  • rome-after, rome-after-eq, rome-before, rome-before-eq accept an ng-model for a rome object.
  • TODO: Add more datas.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

TODO: Write history

Credits

  • Nicolas Bevacqua for beautifully crafting Rome.

License

See LICENSE.