Allows you to pass in a function while temporarily disabling CSS transitions on an element. Helpful for setting styles or modifying an element's DOM structure without triggering unwanted transition instances.

xtag.skipTransition(ELEMENT, FUNCTION)

ArgumentsTypeDescription
ELEMENTDOM element referenceThe element you would like CSS transitions disabled for while you execute your function.
FUNCTIONFunctionA function to execute while the element has its CSS transitions disabled.
xtag.skipTransition(myElement, function(){
	myElement.style.height = '50%';
});