You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gets user defined transitions of an element, if any
31
28
32
-
**Kind**: static constant of [<code>transitions</code>](#module_transitions)
33
-
**Returns**: <code>string</code> \| <code>null</code> - All user defined transitions combined into single shorthandproperty or null if there's no transition defined by the user
29
+
**Kind**: static constant of [<code>transitions</code>](#transitions)
30
+
**Returns**: <code>string</code> \| <code>null</code> - All user defined transitions combined into single shorthand
31
+
property or null if there's no transition defined by the user
| className | <code>string</code> | Name of the animation's CSS class |
50
47
51
-
<aname="module_transitions.appendTransition"></a>
48
+
### appendTransition
52
49
53
-
### transitions.appendTransition
54
-
If an element already has any transition defined, other than that in className,the current transition(s) will be appended to the className transition so thatno transition will be overwritten
50
+
If an element already has any transition defined, other than that in className,
51
+
the current transition(s) will be appended to the className transition so that
52
+
no transition will be overwritten
55
53
56
-
**Kind**: static constant of [<code>transitions</code>](#module_transitions)
54
+
**Kind**: static constant of [<code>transitions</code>](#transitions)
57
55
58
-
| Param | Type | Description |
59
-
| --- | --- | --- |
60
-
| element | <code>HTMLElement</code> | The DOM element to append the transition |
61
-
| className | <code>string</code> | CSS class with a transition to append to other transitions |
62
-
| currTransition | <code>string</code> | Transition(s) already defined to element, before it receives the new class (className) |
If element has an inline css transition appended by appendTransition()the inline transition property will be removed to reset the element backto its previous state
77
+
If element has an inline css transition appended by appendTransition()
78
+
the inline transition property will be removed to reset the element back
79
+
to its previous state
81
80
82
-
**Kind**: static constant of [<code>transitions</code>](#module_transitions)
83
-
**See**: module:transitions.appendTransition
81
+
**Kind**: static constant of [<code>transitions</code>](#transitions)
Verifies wether there should be widht or height transition, or both, or none
132
128
133
-
**Kind**: inner method of [<code>transitions</code>](#module_transitions)
134
-
**Returns**: <code>string</code> \| <code>undefined</code> - The name of the class with the respective transition, or undefined if there should be no transitions
129
+
**Kind**: inner method of [<code>transitions</code>](#transitions)
130
+
**Returns**: <code>string</code> \| <code>undefined</code> - The name of the class with the respective transition, or undefined if there should be no transitions
135
131
136
-
| Param | Type | Description |
137
-
| --- | --- | --- |
138
-
| wTransit | <code>boolean</code> | Indicates if it should have width transition |
0 commit comments