jsdoc DomUtil.TRANSITION_END

This commit is contained in:
john gravois 2017-03-30 17:34:51 -07:00 committed by GitHub
parent 9baeb34dae
commit 48a76bc6fd

View File

@ -16,7 +16,7 @@ import * as Browser from '../core/Browser';
// @property TRANSFORM: String // @property TRANSFORM: String
// Vendor-prefixed fransform style name (e.g. `'webkitTransform'` for WebKit). // Vendor-prefixed transform style name (e.g. `'webkitTransform'` for WebKit).
export var TRANSFORM = testProp( export var TRANSFORM = testProp(
['transform', 'WebkitTransform', 'OTransform', 'MozTransform', 'msTransform']); ['transform', 'WebkitTransform', 'OTransform', 'MozTransform', 'msTransform']);
@ -24,10 +24,12 @@ export var TRANSFORM = testProp(
// the same for the transitionend event, in particular the Android 4.1 stock browser // the same for the transitionend event, in particular the Android 4.1 stock browser
// @property TRANSITION: String // @property TRANSITION: String
// Vendor-prefixed transform style name. // Vendor-prefixed transition style name.
export var TRANSITION = testProp( export var TRANSITION = testProp(
['webkitTransition', 'transition', 'OTransition', 'MozTransition', 'msTransition']); ['webkitTransition', 'transition', 'OTransition', 'MozTransition', 'msTransition']);
// @property TRANSITION_END: String
// Vendor-prefixed transitionend event name.
export var TRANSITION_END = export var TRANSITION_END =
TRANSITION === 'webkitTransition' || TRANSITION === 'OTransition' ? TRANSITION + 'End' : 'transitionend'; TRANSITION === 'webkitTransition' || TRANSITION === 'OTransition' ? TRANSITION + 'End' : 'transitionend';