Pikaday binding is now included with dalgard:viewmodel


#1

Datepickers don’t come much easier than this :penguin:

http://dalgard-viewmodel.meteor.com/pikaday

richsilv:pikaday
dalgard:viewmodel
ViewModel.registerHelper("bind");
<template name="date">
  <input type="text" placeholder="dd-mm-yyyy" {{bind 'pikaday: date'}}>
</template>
// Reactively get Date
ViewModel.findOne("Template.date").date();