mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
edit to form button description
This commit is contained in:
parent
e3644c8fd9
commit
9b49cfe1a1
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@
|
|||
<a href="index.html" data-role="button">Link button</a>
|
||||
|
||||
<h2>Form buttons</h2>
|
||||
<p>For ease of styling, the framework automatically converts any <code>button</code> or <code>input</code> element with a <code>type</code> of <code>submit</code>, <code>reset</code>, <code>button</code>, or <code>image</code> into a custom styled button — there is no need to add the <code> data-role="button"</code> attribute. </p>
|
||||
<p>For ease of styling, the framework automatically converts any <code>button</code> or <code>input</code> element with a <code>type</code> of <code>submit</code>, <code>reset</code>, <code>button</code>, or <code>image</code> into a custom styled, link-based button — there is no need to add the <code> data-role="button"</code> attribute. </p>
|
||||
<p>To preserve events bound to the original <code>button</code> or <code>input</code>, the framework hides the original element by making it transparent and positioning it over the new button markup. When a user clicks on the the custom-styled button, they're actually clicking on the original element.</p>
|
||||
|
||||
<p><strong>Button</strong> based button:</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue