mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-10 09:21:02 +00:00
Added an intro message that links to the ns global option
This commit is contained in:
parent
baee7ed5a7
commit
56f0af4cdf
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@
|
|||
<div data-role="content" data-theme="c">
|
||||
|
||||
<div class="content-primary">
|
||||
<h2>Data- attribute reference</h2>
|
||||
<p>The jQuery Mobile framework uses HTML5 <code>data-</code> attributes to allow for markup-based initialization and configuration of widgets. These attributes are completely optional; calling plugins manually and passing options directly is also supported. To avoid naming conflicts with other plugins or frameworks that also use <code>data-</code> attributes, set a custom namespace by modifying the <a href="globalconfig.html"><code>ns</code> global option</a>.<p>
|
||||
|
||||
<style>
|
||||
table { width:100%; border-bottom:1px solid #ccc; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue