Search.../

rendered

Indicates if an element is currently in the DOM structure.

Description

If rendered is true, the element is in the current DOM structure and can be used.

If rendered is false the element is not in the current DOM structure.

An element might not be in the DOM if it is in a slide or a state which is not currently showing.

Type:

booleanRead Only
Mixed in from:$w.Element

Related Content:

Was this helpful?

Get an element's rendered status

Copy Code
1let isRendered = $w("#myElement").rendered; // true