Skip to content

Instantly share code, notes, and snippets.

@trek
Created December 24, 2012 21:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save trek/4370723 to your computer and use it in GitHub Desktop.
Save trek/4370723 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