Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
93eeb857
Commit
93eeb857
authored
11 years ago
by
fat
Browse files
Options
Download
Plain Diff
Merge branch '3.0.0-docs-js' of
git://github.com/juthilo/bootstrap-wip
into juthilo-3.0.0-docs-js
Conflicts: javascript.html
parents
38044e55
7936f147
2 merge requests
!8635
ignore Gruntfile.js in jekyll
,
!8656
Added rel="stylesheet" to CDN-Examples
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
javascript.html
+65
-4
javascript.html
with
65 additions
and
4 deletions
+65
-4
javascript.html
+
65
-
4
View file @
93eeb857
...
@@ -856,9 +856,40 @@ $('#example').tooltip(options)
...
@@ -856,9 +856,40 @@ $('#example').tooltip(options)
<h4>
.tooltip('destroy')
</h4>
<h4>
.tooltip('destroy')
</h4>
<p>
Hides and destroys an element's tooltip.
</p>
<p>
Hides and destroys an element's tooltip.
</p>
{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %}
{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %}
</div>
<h3>
Events
</h3>
<table
class=
"table table-bordered table-striped"
>
<thead>
<tr>
<th
style=
"width: 150px;"
>
Event Type
</th>
<th>
Description
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
show
</td>
<td>
This event fires immediately when the
<code>
show
</code>
instance method is called.
</td>
</tr>
<tr>
<td>
shown
</td>
<td>
This event is fired when the tooltip has been made visible to the user (will wait for CSS transitions to complete).
</td>
</tr>
<tr>
<td>
hide
</td>
<td>
This event is fired immediately when the
<code>
hide
</code>
instance method has been called.
</td>
</tr>
<tr>
<td>
hidden
</td>
<td>
This event is fired when the tooltip has finished being hidden from the user (will wait for CSS transitions to complete).
</td>
</tr>
</tbody>
</table>
{% highlight js %}
$('#myTooltip').on('hidden.bs.tooltip', function () {
// do something…
})
{% endhighlight %}
</div>
<!-- Popovers
<!-- Popovers
================================================== -->
================================================== -->
...
@@ -1046,10 +1077,40 @@ $('#example').tooltip(options)
...
@@ -1046,10 +1077,40 @@ $('#example').tooltip(options)
<h4>
.popover('destroy')
</h4>
<h4>
.popover('destroy')
</h4>
<p>
Hides and destroys an element's popover.
</p>
<p>
Hides and destroys an element's popover.
</p>
{% highlight js %}$('#element').popover('destroy'){% endhighlight %}
{% highlight js %}$('#element').popover('destroy'){% endhighlight %}
<h3>
Events
</h3>
<table
class=
"table table-bordered table-striped"
>
<thead>
<tr>
<th
style=
"width: 150px;"
>
Event Type
</th>
<th>
Description
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
show
</td>
<td>
This event fires immediately when the
<code>
show
</code>
instance method is called.
</td>
</tr>
<tr>
<td>
shown
</td>
<td>
This event is fired when the popover has been made visible to the user (will wait for CSS transitions to complete).
</td>
</tr>
<tr>
<td>
hide
</td>
<td>
This event is fired immediately when the
<code>
hide
</code>
instance method has been called.
</td>
</tr>
<tr>
<td>
hidden
</td>
<td>
This event is fired when the popover has finished being hidden from the user (will wait for CSS transitions to complete).
</td>
</tr>
</tbody>
</table>
{% highlight js %}
$('#myPopover').on('hidden.bs.popover', function () {
// do something…
})
{% endhighlight %}
</div>
</div>
<!-- Alert
<!-- Alert
================================================== -->
================================================== -->
<div
class=
"bs-docs-section"
>
<div
class=
"bs-docs-section"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets