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?
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.
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
, butimageDialogSrc
doesn't seem accessible in that scope. Maybe there is a better way to do with with reveal.js' API?@dvargas92495