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

Commit b17fa58

Browse files
authored
Update dom.rst
1 parent 0b1a3ff commit b17fa58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If you assign the button element to a val then you can also modify its attribute
2929
val button = button()
3030
button.text("Click Me!")
3131
button.classes("bigbutton")
32-
button.setAttributeRaw("autofocus", JsonPrimitive(true))
32+
button.setAttribute("autofocus", JsonPrimitive(true))
3333
3434
Attributes can also be specified in a Map when you create the element:
3535

0 commit comments

Comments
 (0)