element.elementType
The element’s type: "fit", "button" or "sizeGuide".
readonly elementType: ElementType;Example
Section titled “Example”if (el.elementType === "sizeGuide") el.update({ variant: "button" });Was this page helpful?
Thank you. We read every answer.