fullScrollJs constant
String
const fullScrollJs
Implementation
static const fullScrollJs = """
(function() {
var body = document.body;
var html = document.documentElement;
var totalWidth = Math.max(
body.scrollWidth, html.scrollWidth,
body.offsetWidth, html.offsetWidth,
body.clientWidth, html.clientWidth
);
var totalHeight = Math.max(
body.scrollHeight, html.scrollHeight,
body.offsetHeight, html.offsetHeight,
body.clientHeight, html.clientHeight
);
return [totalWidth, totalHeight];
})();
""";