angular-rome

0.2.9 • Public • Published

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.

Package Sidebar

Install

npm i angular-rome

Weekly Downloads

1

Version

0.2.9

License

Apache License 2.0

Last publish

Collaborators

  • devin