isRemoved( )


Checks if an element is removed from the widget.

The isRemoved() function returns a Promise that resolves to true if the element is removed.

The element selector is a string with the hash symbol (#) followed by the ID of the item you want to select (e.g. "#myElement"). To use this function on an inner (nested) widget, use getScopedWixEditor().

Method Declaration
Copy
Method Parameters
selectorstringRequired

An element selector.

Did this help?