1 L
.Transition
= L
.Class
.extend({
2 includes
: L
.Mixin
.Events
,
5 CUSTOM_PROPS_SETTERS
: {
6 position
: L
.DomUtil
.setPosition
7 //TODO transform custom attr
10 implemented: function() {
11 return L
.Transition
.NATIVE
|| L
.Transition
.TIMER
;
20 _setProperty: function(prop
, value
) {
21 var setters
= L
.Transition
.CUSTOM_PROPS_SETTERS
;
22 if (prop
in setters
) {
23 setters
[prop
](this._el
, value
);
25 this._el
.style
[prop
] = value
;