is there a way to get document height from kotlinj...
# javascript
t
is there a way to get document height from kotlinjs other than calling javascript directly?
g
https://developer.mozilla.org/en/docs/Web/API/Document/height ” Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.” You should use
document.body?.clientHeight