EMBED.getRootElement ()

This method retrieves a jQuery object, which represents the root HTML element of the current instance of a plug-in.

This method provides a way to access a specific instance of the plugin, regardless of how many other instances of the same plugin are present on the page.

Parameters

None

Return Value

jQuery object

Example

let element = EMBED.getRootElement();
let containerElem = element.find("#iContainer");