"ready" event
Esta página aún no está disponible en tu idioma.
The element is on the page (the size guide and button at once; the inline element once our window is connected). Fires once per mount.
ready: { elementType: ElementType };Payload
Section titled “Payload”elementType"fit" | "button" | "sizeGuide"ObligatorioWhich element.
Example
Section titled “Example”guide.on("ready", ({ elementType }) => console.log(elementType, "ready"));<SizeGuide product="SKU-123" onReady={() => setReady(true)} />el.addEventListener("tys:ready", (e) => console.log(e.detail.elementType));¿Te ha resultado útil esta página?
Gracias. Leemos todas las respuestas.