Search.../

global

Indicates if an element appears on all pages or only on the current page.

Description

If global is true, the element appears on all pages.

If global is false, the element only appears on the current page.

Type:

booleanRead Only
Mixed in from:$w.Element

Was this helpful?

Get whether an element is displayed on all pages

Code Example

Copy Code
1let isGlobal = $w("#myElement").global; // false