Lines Matching defs:Transition
2 * The Transition Utility provides an API for creating advanced transitions.
7 * Provides the base Transition class, for animating numeric properties.
14 var Transition = Y.Transition;
16 Y.mix(Transition.prototype, {
18 if (Transition.useNative) {
29 Transition._running[Y.stamp(anim)] = anim;
31 Transition._startTimer();
36 delete Transition._running[Y.stamp(anim)];
50 attrs = Transition._nodeAttrs[uid],
51 customAttr = Transition.behaviors,
78 customAttr[i].set : Transition.DEFAULT_SETTER;
114 customAttr = Transition.behaviors,
116 attrs = Transition._nodeAttrs[uid],
137 customAttr[name].get(anim, name) : Transition.DEFAULT_GETTER(anim, name);
139 mFrom = Transition.RE_UNITS.exec(begin);
140 mTo = Transition.RE_UNITS.exec(val);
146 if (!unit && Transition.RE_DEFAULT_UNIT.test(name)) {
147 unit = Transition.DEFAULT_UNIT;
153 } else if (Transition.easings[easing]) {
154 easing = Transition.easings[easing];
178 Y.mix(Y.Transition, {
230 val = Transition.cubicBezier(fn, elapsed / duration);
262 if (!Transition._timer) {
263 Transition._timer = setInterval(Transition._runFrame, Transition.intervalTime);
268 clearInterval(Transition._timer);
269 Transition._timer = null;
281 for (anim in Transition._running) {
282 if (Transition._running[anim]._runFrame) {
284 Transition._running[anim]._runFrame();
289 Transition._stopTimer();
332 Transition.behaviors.top = Transition.behaviors.bottom = Transition.behaviors.right = Transition.behaviors.left;
334 Y.Transition = Transition;