Skip to content

Commit 87d0770

Browse files
authored
[6.x] Fix missing Live Preview componentUpdated function (#13733)
1 parent 6e0352f commit 87d0770

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

resources/js/components/ui/LivePreview/LivePreview.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ const update = debounce(() => {
130130
});
131131
}, 150);
132132
133+
function componentUpdated(handle, value) {
134+
extras.value[handle] = value;
135+
}
136+
133137
function setIframeAttributes(iframe) {
134138
iframe.setAttribute('frameborder', '0');
135139
iframe.setAttribute('class', previewDevice.value ? 'device' : 'responsive');

0 commit comments

Comments
 (0)