Wocart

@wocart/theme v4.1.0


@wocart/theme / lifecycle / PREVIEW_SECTION_LOAD_EVENT

Variable: PREVIEW_SECTION_LOAD_EVENT

const PREVIEW_SECTION_LOAD_EVENT: "wocart:section-load" = "wocart:section-load"

Dispatched on document for each section the editor's preview swapped in, with the instance id as detail.id. When the whole page was replaced, the preview dispatches Astro's own astro:page-load instead.