Skip to content

Commit

Permalink
Ide: Trigger an update-preview event on click of seal icon
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 authored and amitu committed Sep 18, 2024
1 parent 58a269b commit d706e05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/editor/panels/preview.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d706e05

Please sign in to comment.