"close" event
Our window closed. With unsaved measurements, the window asks the shopper first.
close: { elementType: ElementType };Payload
Section titled “Payload”elementType"fit" | "button" | "sizeGuide"RequiredWhich element.
Example
Section titled “Example”guide.on("close", () => sizePicker.focus());<SizeGuide product="SKU-123" onClose={() => pickerRef.current?.focus()} />Was this page helpful?
Thank you. We read every answer.