Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
Update dom.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed May 15, 2021
1 parent 52c7873 commit 42366ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If you assign the button element to a val then you can also modify its attribute
val button = button()
button.text("Click Me!")
button.classes("bigbutton")
button.setAttributeRaw("autofocus", true)
button.setAttributeRaw("autofocus", JsonPrimitive(true))
Attributes can also be specified in a Map when you create the element:

Expand Down

0 comments on commit 42366ca

Please sign in to comment.