shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
whenTransitionEnd
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.dom.when
Monitor an HTMLElement to be notified when his transition has ended
Params
- $elm*-HTMLElement
The element to monitor
Return
- -(Promise<HTMLElement>)
The promise that will be resolved when the element transition has ended
Example
import { whenTransitionEnd } from '@blackbyte/sugar/dom'
await whenTransitionEnd(myCoolHTMLElement);Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space