el-transition icon indicating copy to clipboard operation
el-transition copied to clipboard

Use Element.getAnimations() to wait for transition completion vs. setTimeout

Open mkdynamic opened this issue 2 years ago • 0 comments

This API covers CSS transitions + animations vs. transitions only and avoids the parsing shenanigans and setTimeout.

See https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations

mkdynamic avatar Sep 26 '22 07:09 mkdynamic