$('#home-toolbar .center').html(tabItem.getAttribute('label'));
Selects the center class of home-toolbar
From:
https://github.com/paulchin/onsen-06-tutorial/blob/master/www/app.js
Reference:
https://www.w3schools.com/jquERY/sel_parent_descendant.asp
No comments:
Post a Comment