From 48aa209348c47df65f4edb0d8a36ccaac357eb0a Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 10 Sep 2011 12:49:21 -0700 Subject: more tests, more js goodness --- docs/javascript.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 7d1c6d6ca..8a4636bb3 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -89,12 +89,12 @@ $('#modal-content').modal({

modal:toggle

Toggle the modal open state.

$('#modal-content').trigger('modal:toggle')
-

modal:open

+

modal:show

Opens the modal.

-
$('#modal-content').trigger('modal:open')
-

modal:close

+
$('#modal-content').trigger('modal:show')
+

modal:hide

Closes the modal.

-
$('#modal-content').trigger('modal:close')
+
$('#modal-content').trigger('modal:hide')

Demo

-- cgit v1.2.3