Join Slack
Powered by
Hello, World! And Merry Xmas :slightly_smiling_fac...
# ktor
b
bod
12/25/2018, 11:15 AM
Hello, World! And Merry Xmas 🙂 I'm trying the kotlinx.html integration now. Is there a way to add custom attributes to a tag? In my case, I need to add a
defer
attribute to a
script
tag.
o
orangy
12/25/2018, 11:18 AM
Yep,
attributes["data-toggle"] = "dropdown"
b
bod
12/25/2018, 11:18 AM
great, thanks!
Open in Slack
Previous
Next