mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
animate -> animation
This commit is contained in:
parent
f72a94ae28
commit
80cb760fac
3 changed files with 6 additions and 6 deletions
|
@ -579,7 +579,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>animate</td>
|
||||
<td>animation</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>apply a css fade transition to the tooltip</td>
|
||||
|
@ -669,7 +669,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>animate</td>
|
||||
<td>animation</td>
|
||||
<td>boolean</td>
|
||||
<td>true</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-*(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-*(noun)* - defines class instance options
|
||||
- data-{{noun}} - defines class instance options
|
||||
|
||||
examples:
|
||||
|
||||
|
|
4
js/bootstrap-twipsy.js
vendored
4
js/bootstrap-twipsy.js
vendored
|
@ -109,7 +109,7 @@
|
|||
$tip = this.tip()
|
||||
this.setContent()
|
||||
|
||||
if (this.options.animate) {
|
||||
if (this.options.animation) {
|
||||
$tip.addClass('fade')
|
||||
}
|
||||
|
||||
|
@ -250,7 +250,7 @@
|
|||
$.fn.twipsy.Constructor = Twipsy
|
||||
|
||||
$.fn.twipsy.defaults = {
|
||||
animate: true
|
||||
animation: true
|
||||
, delay: 0
|
||||
, selector: false
|
||||
, placement: 'above'
|
||||
|
|
Loading…
Reference in a new issue