diff --git a/docs/javascript.html b/docs/javascript.html index 4f85242d5..e19f544eb 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -120,7 +120,7 @@
You can activate modals on your page easily without having to write a single line of javascript. Just give an element a data-controls-modal which corresponds to a modal element id, and when clicked, it will launch your modal. To add modal options, just include them as data attributes as well.
You can activate modals on your page easily without having to write a single line of javascript. Just give an element a data-controls-modal attribute which corresponds to a modal element id, and when clicked, it will launch your modal. To add modal options, just include them as data attributes as well.
<a class="btn" data-controls-modal="my-modal" data-backdrop="true" >Launch Modal</a>