Skip to content

Commit 8bea097

Browse files
iliketocode2ntoll
authored andcommitted
update dom docs
1 parent 59635fe commit 8bea097

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/user-guide/dom.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ for item in items:
201201
# Bulk update all elements.
202202
items.update_all(
203203
innerHTML="New content",
204-
classes=["updated-item"]
204+
classes="updated-item",
205+
style={"color": "blue"},
205206
)
206207

207208
# Index and slice collections.

0 commit comments

Comments
 (0)