Join Slack
Powered by
How can I set the id of an element from the kotlin...
# javascript
r
redrield
11/15/2017, 11:00 AM
How can I set the id of an element from the kotlin React DSL?
b
bashor
11/15/2017, 12:50 PM
try to write
attrs.id
inside element
bashor
11/15/2017, 12:50 PM
like:
Copy code
div { attrs.id = "" // or attrs { id = "" } }
42
Views
Open in Slack
Previous
Next