Customizable date (and time) picker. Opt-in UI, no jQuery!.Rome synchronizes in real-time with inputs, never steals focus, and its CSS is entirely customizable!
Oh, rome
synchronizes in real-time with inputs, never steals focus, and its CSS is entirely customizable!
Rome depends on moment
. It doesn’t depend on jQuery or other weird frameworks, though.
Install
From npm or Bower.
npm install --save rome
bower install --save rome
Note that if you’re using the standalone version, the API is published under the rome
global. If you’re using CJS, then you’ll have to require('rome')
.
Setup
You can use your own distribution of moment
, using rome.standalone.js
.
<script src='moment.js'></script>
<script src='rome.standalone.js'></script>
You could just use the bundled rome.js
distribution, which comes with moment
in it.
<script src='rome.js'></script>
If you need to do anything regarding internationalization, refer to moment
for that. Ideally, make those changes before starting to create Rome calendar components.
Rome : Customizable Date & Time Picker
No comments:
Post a Comment