Skip to content

cybernetics/Angular-Rome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An Angular Directive wrapping Rome.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.0%
  • CSS 21.0%