uxsolutions / bootstrap-datepicker

A datepicker for twitter bootstrap (@twbs)
Apache License 2.0
12.68k stars 6.06k forks source link

EmberJS support? #519

Open eternicode opened 11 years ago

eternicode commented 11 years ago

Disclaimer: I don't actually have any Ember experience at this point :grin:

EmberJS is the cool new kid on the block, and some have asked about bootstrap-datepicker supporting it.

The question is, what, if anything, is needed to support Ember?

I'm going to go ahead and rule out Handlebars support -- that would be an added requirement that I would think a lot of projects don't have yet, and that datepicker wouldn't particularly benefit from (there's no developer-generated html in datepicker).

As far as actual Ember support, datepicker is a jQuery plugin, so I'm not sure if anything needs to be changed for Ember to be able to use it. There's already a data-api in place that allows data-attributes to trigger instantiation, without the need for writing javascript; I imagine these could be added to the HTML templates that Ember uses without much fuss.

If those with Ember knowledge could poke holes in my arguments or come up with something I haven't considered, I'm all ears on this topic.

yankeeinlondon commented 11 years ago

I for one would love to see this but I can't yet provide any insight into the nuance. I'll focus on ramping up on Ember and come back to this thread in the next few weeks.

LarryBattle commented 8 years ago

Datepicker component for Ember CLI https://github.com/soulim/ember-cli-bootstrap-datepicker

Problem solved?