element.open()
Esta página aún no está disponible en tu idioma.
Opens the TryYourSize window for this element’s product, as the element itself does on click. Use it from your own button or link.
open(): void;Example
Section titled “Example”document.querySelector("#my-size-link").addEventListener("click", (e) => { e.preventDefault(); guide.open();});const ref = useRef<ElementHandle>(null);<SizeGuide ref={ref} product="SKU-123" /><button onClick={() => ref.current?.open()}>Find my size</button>¿Te ha resultado útil esta página?
Gracias. Leemos todas las respuestas.