From d706e052e77902fd6f74aa9fe2abd62479e439be Mon Sep 17 00:00:00 2001 From: siddhantCodes Date: Tue, 17 Sep 2024 18:42:20 +0530 Subject: [PATCH] Ide: Trigger an `update-preview` event on click of `seal` icon --- components/editor/panels/preview.ftd | 1 + 1 file changed, 1 insertion(+) diff --git a/components/editor/panels/preview.ftd b/components/editor/panels/preview.ftd index cb4e286c..5d41f507 100644 --- a/components/editor/panels/preview.ftd +++ b/components/editor/panels/preview.ftd @@ -66,6 +66,7 @@ padding-vertical.px: 6 -- phosphor.light: seal if: { !vars.preview-upto-date } + $on-click$: vars.dispatch-event(name=update-preview) size: 14 -- ftd.text: Preview