Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit 641bedd0c042c3d2391357ae3ec778174a9731c8 1 parent cf92b9b
@hiroprotagonist authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -17,8 +17,8 @@ Then simply place a HTML Element on the page you like to open the popup.
A link tag for example. Add the data-role "actionsheet" to it. You can place it within
the header as well as within the content. Both should work.
Now add a div directly following this link. Wrap all content you like to show in the popup
-into this div. Ready. See the following HTML code for details.
-
+into this div. Ready. See the following HTML
+~~~
<a data-icon="plus" data-role="actionsheet">Open</a>
<div>
<a data-role="button" href="#">Action 1</a>
@@ -28,7 +28,7 @@ into this div. Ready. See the following HTML code for details.
<!-- This close button is optional. The widget also closes if you click or touch outside of the popup -->
<a data-role="button" data-rel="close" href="#">Cancel</a>
</div>
-
+~~~
Also you can use html ids to associate toggle and sheet. This way the sheet must not directly follow the toggle.
<a data-role="actionsheet" data-sheet='sheet0'>Open</a>
Please sign in to comment.
Something went wrong with that request. Please try again.