From 457885075f8fa004f3a190efdcf381af218e1bb7 Mon Sep 17 00:00:00 2001 From: Steven Black Date: Wed, 25 Feb 2015 04:00:37 +0200 Subject: Javascript docs: Accessibility and cosmetic changes to headings. Closes #15915 by merging it. --- docs/_includes/js/modal.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/_includes/js/modal.html') diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 2e3233143..8f6b2fb6c 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -456,7 +456,7 @@ $('#exampleModal').on('show.bs.modal', function (event) {

Methods

-

.modal(options)

+

.modal(options)

Activates your content as a modal. Accepts an optional options object.

{% highlight js %} $('#myModal').modal({ @@ -464,15 +464,15 @@ $('#myModal').modal({ }) {% endhighlight %} -

.modal('toggle')

+

.modal('toggle')

Manually toggles a modal. Returns to the caller before the modal has actually been shown or hidden (i.e. before the shown.bs.modal or hidden.bs.modal event occurs).

{% highlight js %}$('#myModal').modal('toggle'){% endhighlight %} -

.modal('show')

+

.modal('show')

Manually opens a modal. Returns to the caller before the modal has actually been shown (i.e. before the shown.bs.modal event occurs).

{% highlight js %}$('#myModal').modal('show'){% endhighlight %} -

.modal('hide')

+

.modal('hide')

Manually hides a modal. Returns to the caller before the modal has actually been hidden (i.e. before the hidden.bs.modal event occurs).

{% highlight js %}$('#myModal').modal('hide'){% endhighlight %} -- cgit v1.2.3