1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-04-21 21:12:13 +02:00

add logs to scrollview.js

This commit is contained in:
Anas Bouzid 2024-02-04 19:17:06 -06:00
parent dcc21516dd
commit d61b375bf8

View File

@ -46,8 +46,10 @@ export default class ScrollView {
let presentationBackground;
const viewportStyles = window.getComputedStyle( this.viewportElement );
console.log(viewportStyles);
if( viewportStyles && viewportStyles.background ) {
presentationBackground = viewportStyles.background;
console.log(presentationBackground);
}
const pageElements = [];