@myissue/vue-website-page-builder 3.5.44 → 3.5.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -1
- package/dist/vue-website-page-builder.js +8929 -8917
- package/dist/vue-website-page-builder.umd.cjs +85 -85
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -375,8 +375,14 @@ export declare class PageBuilderService {
|
|
|
375
375
|
startBuilder(config: PageBuilderConfig, passedComponentsArray?: BuilderResourceData): Promise<StartBuilderResult>;
|
|
376
376
|
/**
|
|
377
377
|
* Whether PageBuilder.vue should run deferred mount on mount (DOM was missing at startBuilder).
|
|
378
|
+
*
|
|
379
|
+
* @param ownCanvas - The component's own #pagebuilder element (passed from PageBuilder.vue ref).
|
|
380
|
+
* Using this instead of document.querySelector ensures the correct canvas is checked when
|
|
381
|
+
* multiple PageBuilder instances exist on the same page (e.g. one always-visible + one in a
|
|
382
|
+
* modal). When the modal's canvas is empty while another instance already has content, the
|
|
383
|
+
* document.querySelector approach would miss the empty canvas entirely.
|
|
378
384
|
*/
|
|
379
|
-
shouldCompleteBuilderMountOnMount(): boolean;
|
|
385
|
+
shouldCompleteBuilderMountOnMount(ownCanvas?: HTMLElement): boolean;
|
|
380
386
|
/**
|
|
381
387
|
* Completes the builder initialization process once the DOM is ready.
|
|
382
388
|
* @param {BuilderResourceData} [passedComponentsArray] - Optional array of components to load.
|