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

Ability to configure tag names for UI controls #4

Closed davebalmer closed 13 years ago

davebalmer commented 13 years ago

Received some feedback that it would be nice to be able to have the framework create UI elements in the DOM with different names. Adding a config method which lets you set the tag names for any UI class in the JS.

davebalmer commented 13 years ago

Done. You can set any joView object's tagName or className property to change the defaults used in the framework.