What's the difference between element classes in `...
# javascript
c
What's the difference between element classes in
org.w3c.dom
and
web.html
?
t
org.w3c.*
declarations - browser declarations, provided by
kotlinjs-stdlib
(outdated)
web.*
declarations - browser declarations, generated from latest browser definitions
2
In wrappers we use only latest declarations
c
Oh, So, I should use the
web.html
ones then. In KotlinX HTML. What's the difference between the
kotlinx.html.*
declarations and the
kotlinx.html.js.*
declarations?
t
To avoid redundant import suggestions you can use IDEA configuration file like in wrappers
In KotlinX HTML.
Do you need multiplatform HTML generation?
c
No, Just the js part. I am guessing the
kotlinx.html.js
is the js-specific implementation.