Join Slack
Powered by
is there a way to get document height from kotlinj...
# javascript
t
tlaukkan
07/23/2017, 7:45 AM
is there a way to get document height from kotlinjs other than calling javascript directly?
g
gaetan
07/23/2017, 2:01 PM
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
2
Views
Open in Slack
Previous
Next