mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01:00
animate -> animation
This commit is contained in:
parent
f72a94ae28
commit
80cb760fac
@ -579,7 +579,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>animate</td>
|
<td>animation</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
<td>apply a css fade transition to the tooltip</td>
|
<td>apply a css fade transition to the tooltip</td>
|
||||||
@ -669,7 +669,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>animate</td>
|
<td>animation</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
<td>apply a css fade transition to the tooltip</td>
|
<td>apply a css fade transition to the tooltip</td>
|
||||||
|
@ -83,9 +83,9 @@ Each plugin stores a copy of the invoked class on an object. This class instance
|
|||||||
|
|
||||||
Data attributes should take the following form:
|
Data attributes should take the following form:
|
||||||
|
|
||||||
- data-*(verb)* - defines main interaction
|
- data-{{verb}}={{plugin}} - defines main interaction
|
||||||
- data-target || href^=# - defined on "control" element (if element controls an element other than self)
|
- data-target || href^=# - defined on "control" element (if element controls an element other than self)
|
||||||
- data-*(noun)* - defines class instance options
|
- data-{{noun}} - defines class instance options
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
|
4
js/bootstrap-twipsy.js
vendored
4
js/bootstrap-twipsy.js
vendored
@ -109,7 +109,7 @@
|
|||||||
$tip = this.tip()
|
$tip = this.tip()
|
||||||
this.setContent()
|
this.setContent()
|
||||||
|
|
||||||
if (this.options.animate) {
|
if (this.options.animation) {
|
||||||
$tip.addClass('fade')
|
$tip.addClass('fade')
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -250,7 +250,7 @@
|
|||||||
$.fn.twipsy.Constructor = Twipsy
|
$.fn.twipsy.Constructor = Twipsy
|
||||||
|
|
||||||
$.fn.twipsy.defaults = {
|
$.fn.twipsy.defaults = {
|
||||||
animate: true
|
animation: true
|
||||||
, delay: 0
|
, delay: 0
|
||||||
, selector: false
|
, selector: false
|
||||||
, placement: 'above'
|
, placement: 'above'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user