bootstrap3-datetimepicker
Bootstrap 3 DateTime picker from Eonasdan, https://github.com/Eonasdan/bootstrap-datetimepicker, packaged for Meteor.js
To install
$ meteor add tsega:bootstrap3-datetimepicker
To use
Set up your markup, in the example below a grouped calendar icon with text input (bootstrap3)
1<template name="tempName"> 2... 3 <div class="input-group datetimepicker"> 4 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 5 <input class="set-due-date form-control" type="text"/> 6 </div> 7... 8</template>
Using jQuery initiate the control as datetime picker after the template has been rendered.
1Template.tempName.onRendered(function() { 2 this.$('.datetimepicker').datetimepicker(); 3});