type

Gets the element’s type.

Possible values include:

  • “text”
  • “image”

Syntax

Copy

Example

Copy
Did this help?