https://kotlinlang.org logo
#kmdc
Title
r

Robert Jaros

07/28/2020, 6:51 PM
another thing I would need is something like https://github.com/appcues/snabbdom-virtualize - converter/parser from String (html text) to virtual node
b

Big Chungus

07/28/2020, 6:54 PM
Is this basically plaintext html parsing into VElement?
r

Robert Jaros

07/28/2020, 6:54 PM
yes
at least this is what i'm using
b

Big Chungus

07/28/2020, 6:56 PM
Do you have on(event) attributes in plaintext htmls with js handlers inline?
As this might be a bit tricky to implement on wasm
r

Robert Jaros

07/28/2020, 6:56 PM
no
just simple markup
b

Big Chungus

07/28/2020, 6:57 PM
Looks simple enough. I'll add it to M3. Thanks for the ideas
r

Robert Jaros

07/28/2020, 6:57 PM
or at least I assume it's for simple markup :)
in kvision you can enable rich text on components, which is converted directly by this virtualize library
I haven't even tried using some more complicated markup so I'm not sure how it would work
b

Big Chungus

07/28/2020, 7:00 PM
I'll leave this limitation out of M3 and will get back to it in the future releases
5 Views