Ir al contenido

elements.getElement()

Esta página aún no está disponible en tu idioma.

Method@tryyoursize/sdk

The most recently created element of a type that is still alive, or null.

getElement(type: ElementType): TysElement | null;
type"fit" | "button" | "sizeGuide"Obligatorio

The element type.

TysElement | null: The element, or null.

elements.getElement("sizeGuide")?.open();

¿Te ha resultado útil esta página?