Skip to content

Commit 9b49cfe

Browse files
author
maggiewachs
committed
edit to form button description
1 parent e3644c8 commit 9b49cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/buttons/buttons-types.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2>Styling links as buttons</h2>
4747
<a href="index.html" data-role="button">Link button</a>
4848

4949
<h2>Form buttons</h2>
50-
<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 &mdash; there is no need to add the <code> data-role="button"</code> attribute. </p>
50+
<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 &mdash; there is no need to add the <code> data-role="button"</code> attribute. </p>
5151
<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>
5252

5353
<p><strong>Button</strong> based button:</p>

0 commit comments

Comments
 (0)