From b871d22428611e71ebc8c924b99ca397517f43e7 Mon Sep 17 00:00:00 2001 From: Tyguy7 Date: Mon, 13 Jan 2014 13:58:00 -0800 Subject: [PATCH] Added examples_reveal_open_close to the Reveal docs --- doc/pages/components/reveal.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/pages/components/reveal.html b/doc/pages/components/reveal.html index ca92ac229..195f8ccd1 100644 --- a/doc/pages/components/reveal.html +++ b/doc/pages/components/reveal.html @@ -58,6 +58,8 @@ The class options: You can also open and close Reveal via JavaScript: +{{> examples_reveal_open_close}} +
Firing a Reveal Modal with Ajax Content
To launch a modal with content from another page, just add a `data-reveal-ajax` attribute pointing to the url of that page. When clicked, the Reveal modal will be opened with a content from that page. Beware: content of the object from `data-reveal-id` attribute will be overwritten as a result. -- 2.47.2