<https://developer.mozilla.org/en-US/docs/Web/API/...
# javascript
p
https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection any idea why
kotlinx.browser.window
does not have this method?
b
kotlinx.browser is generated from schema, so probably it was missing in the schema they were using. Worth raising it as a bug. In the meanwhile you can always use
window.asDynamic().getSelection()
e
would likely be an easy patch but kotlinx.browser isn't very active