Namespace: MediaWatcher

Help4.jscore.MediaWatcher

Methods

(static) observe(elem) → {Promise.<Array.<(HTMLImageElement|HTMLVideoElement)>>}

Parameters:
Name Type Description
elem HTMLElement the to be observed element
Source:
Returns:
indicates whether media is loaded
Type
Promise.<Array.<(HTMLImageElement|HTMLVideoElement)>>