app-UI is a collection of user interface components that may be helpful to web and mobile developers for creating interactive applications using HTML and JavaScript, especially those targeting mobile devices. app-UI is a continual work in progress - it was born out of the necessity to have rich & native-feeling interfaces in HTML/JS experiences, and it works great with PhoneGap applications (http://www.phonegap.com). app-UI can easily be styled/customized using CSS.
I added this in some code i'm writing, so i wouldn't have to pass around escaped titles throughout the application.
This is just a suggestion.
in ViewNavigator.prototype.replaceView ... if (viewDescriptor.backLabel == 'auto') { viewDescriptor.backLabel = this.history.length > 0 ? this.history[this.history.length-1].backLabel : null; } this.history.push...
in ViewNavigator.prototype.pushView ... if (viewDescriptor.backLabel == 'auto') { viewDescriptor.backLabel = this.history.length > 0 ? this.history[this.history.length-1].title : null; } this.history.push...
Thanks for app-ui.