mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
docs coppyy
This commit is contained in:
parent
44e2c73668
commit
cc05bce597
@ -120,7 +120,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Markup</h3>
|
||||
<p>You can activate modals on your page easily without having to write a single line of javascript. Just give an element a <code>data-controls-modal</code> 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.</p>
|
||||
<p>You can activate modals on your page easily without having to write a single line of javascript. Just give an element a <code>data-controls-modal</code> 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.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<a class="btn" data-controls-modal="my-modal" data-backdrop="true" >Launch Modal</a>
|
||||
</pre>
|
||||
|
Loading…
x
Reference in New Issue
Block a user