davebalmer / jo

Jo (0.5.0) is a thin (~16K) candy shell for making HTML5 apps. Jo works with: PhoneGap, Chrome, Safari, Opera, FireFox, iOS, Android, BlackBerry 10, Tizen, & Windows Phone 8+. Features include skinnable UI widgets, a clean event model and a light data layer.
MIT License
1.2k stars 180 forks source link

Couple fixes to joSlider and change to joDOM.setStyle #39

Closed tiqtech closed 13 years ago

tiqtech commented 13 years ago

Noticed a couple bugs while using joSlider in a prototype.

Also added slideStart and slideEnd events. Right now, it fires change events as the slider moves but I wanted to react to the changed value only when sliding is done. Seemed like it would be something others would want as well.

Finally, I noticed that unlike joDOM.addCSSClass, joDOM.setStyle only accepts a HTMLDOMElement and not a joView (or derivative). So, added joDOM.get(node) at the top of that to make it congruent with the other methods.

davebalmer commented 13 years ago

Merging. Great fixes!