What HTML5 features/attribute does JQuery mobile used?
Anyone know What HTML5 features/attribute does JQuery mobile used? .I've looked on the website and I can't seem to find o开发者_运维百科ut which ones. Or how would I find out? THanks
The framework heavily uses the new HTML5 data- tag attributes.
It is used to define everything from mobile pages, header/footer elements, to icon positioning.
Taken from their documentation:
HTML5 Markup-driven configuration of pages and behavior for fast development and minimal required scripting. Automatic initialization by using HTML5 data-role attributes in the HTML markup to act as the trigger to automatically initialize all jQuery Mobile widgets found on a page.
精彩评论