Search.../

type

Gets the element's type.

Type:

stringRead Only
Mixed in from:$w.Element

Was this helpful?

Get the element's type

Code Example

Copy Code
1let myType = $w("#myElement").type; // "$w.Type"