RoamJS / presentation

MIT License
5 stars 2 forks source link

Expose image dialog open status to root presentation div (closes #7) #8

Closed mdroidian closed 1 year ago

mdroidian commented 1 year ago

This will allow the end user to style the entire presentation based on image dialog open status, ie, add background color / blur.

Might not be ideal to use document.getElementById, but imageDialogSrc doesn't seem accessible in that scope. Maybe there is a better way to do with with reveal.js' API?

@dvargas92495

mdroidian commented 1 year ago

Currently <div class=bp3-overlay-backdrop bp3-overlay-enter-done> provides the background change when an image is clicked. User can add backdrop-filter to that div to achieve the results.