From 82ea5847a7188b2798c5dbb0792e53ee8f60db55 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sun, 3 Jun 2012 21:26:54 -0700 Subject: adds remote source to modal. Remote source can be specified in href or by providing a remote option #936 --- docs/templates/pages/javascript.mustache | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/templates/pages/javascript.mustache') diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 7e0fdd858..e9654f5e6 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -191,6 +191,13 @@ {{_i}}true{{/i}} {{_i}}Shows the modal when initialized.{{/i}} + + {{_i}}remote{{/i}} + {{_i}}path{{/i}} + {{_i}}false{{/i}} +

{{_i}}If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:{{/i}}

+
<a data-toggle="modal" href="remote.html" data-target="#modal">click me</a>
+

{{_i}}Markup{{/i}}

-- cgit v1.2.3