Ghost/ghost/admin/app/components/gh-explore-iframe.hbs
Aileen Booker cd013356f9 Added update to Explore iframe on nightShift change
no issue

- This change listens to updated values of the night shift toggle and sends a message to the Explore iframe - if mounted - to ensure the themes are in sync
2023-08-09 13:03:13 +01:00

10 lines
225 B
Handlebars

<iframe
id="explore-frame"
class="explore-frame"
frameborder="0"
title="Explore"
{{did-insert this.setup}}
{{did-update this.handleDarkModeChange this.feature.nightShift}}
...attributes
>
</iframe>