Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated docs to indicate usage of options argument in card component

  • Loading branch information...
commit 379c53344d25e97b10252b11bc1a91599d24e7df 1 parent 4bf99a4
@luk- authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 docs/index.html
View
10 docs/index.html
@@ -508,6 +508,14 @@ <h2 id="card-section"><a href="#">Card</a></h2>
})
</code>
</pre>
+ <p>You can also include an object as a third argument to prevent the card component from flipping when clicked. If this argument is not specified, the default behavior is to flip when clicked.</p>
+
+ <pre>
+ <code>
+ var card = ui.card('&lt;p&gt;I will not flip when clicked&lt;/p&gt;', '&lt;p&gt;You must have clicked another element&lt;/p&gt;', {self_flip: false});
+ card.el.appendTo('#card');
+ </code>
+ </pre>
</section>
</section>
@@ -626,4 +634,4 @@ <h2 id="split-button-section"><a href="#">SplitButton</a></h2>
</section>
</div>
</body>
-</html>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.