Skip to content

Instantly share code, notes, and snippets.

@boy-jer
Forked from trek/timePicker.handlebars
Created May 4, 2013 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boy-jer/5518274 to your computer and use it in GitHub Desktop.
Save boy-jer/5518274 to your computer and use it in GitHub Desktop.
{{view Ember.TextField
valueBinding="storeCard.relevantDate"
classNames="timepicker-default input-small"
}}
<span class='add-on'><i class="icon-time"></i></span>
Bootstrap.TimePicker = Em.View.extend({
templateName: 'timePicker',
didInsertElement: function() {
this.$('.timepicker-default').timepicker({showSeconds: true, defaultTime: 'value'});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment