Skip to content

Commit

Permalink
add closeClass to ajax loaded example content
Browse files Browse the repository at this point in the history
  • Loading branch information
briceburg committed Apr 16, 2016
1 parent 2be27e5 commit 2a04243
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@

<br /><br />

We additionally passed the `closeOnEsc` option as true, allowing you to close this modal by pressing the `Esc` key.
<strong>Note</strong> the `closeOnEsc` parameter was passed as true,
allowing you to close this modal by pressing the <em>`Esc`</em> key.
<br /><br />

Loaded content also respects the <em>closeClass</em>, and will automatically
add classing behahvior to elements like this one: <button class="jqmClose">close me</button>
<br /><br />

<?php
Expand All @@ -14,4 +19,4 @@

if(isset($_GET['sleep'])) {
sleep(3);
}
}

0 comments on commit 2a04243

Please sign in to comment.