@next-core/brick-kit 2.208.1 → 2.208.3
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.bundle.js
CHANGED
|
@@ -13819,9 +13819,12 @@
|
|
|
13819
13819
|
updateBrick(brick, element);
|
|
13820
13820
|
var onMount = (_useBrick$lifeCycle4 = useBrick.lifeCycle) === null || _useBrick$lifeCycle4 === void 0 ? void 0 : _useBrick$lifeCycle4.onMount;
|
|
13821
13821
|
if (onMount) {
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13822
|
+
// wait for element of template brick to be assigned
|
|
13823
|
+
queueMicrotask(() => {
|
|
13824
|
+
dispatchLifeCycleEvent(new CustomEvent("mount"), transformEvents(data, {
|
|
13825
|
+
onMount
|
|
13826
|
+
}).onMount, brick);
|
|
13827
|
+
});
|
|
13825
13828
|
}
|
|
13826
13829
|
var onScrollIntoView = (_useBrick$lifeCycle5 = useBrick.lifeCycle) === null || _useBrick$lifeCycle5 === void 0 ? void 0 : _useBrick$lifeCycle5.onScrollIntoView;
|
|
13827
13830
|
if (onScrollIntoView) {
|