I showed how to make a simple datepicker in my previous post using a
computed property. The computed property parsed the text into a
object. This example is more userfriendly. It uses wonderful twitter
example fully integrates the library into our ember view.
The datepicker is create inside the
didInsertElement callback. The
view connects to the datepicker's
dateChange event to pass the
Date object back to the original computed property.
You may still type in dates matching the given format.
— Adam Hawkins