Sha256: 3a994306058b0011dc4e618220d92d9aee389f0c24a5520ff182501cf4c3aa4f
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
L.Transition = L.Class.extend({ includes: L.Mixin.Events, statics: { CUSTOM_PROPS_SETTERS: { position: L.DomUtil.setPosition //TODO transform custom attr }, implemented: function () { return L.Transition.NATIVE || L.Transition.TIMER; } }, options: { easing: 'ease', duration: 0.5 }, _setProperty: function (prop, value) { var setters = L.Transition.CUSTOM_PROPS_SETTERS; if (prop in setters) { setters[prop](this._el, value); } else { this._el.style[prop] = value; } } });
Version data entries
3 entries across 3 versions & 1 rubygems