Skip to content

Commit 3f993d3

Browse files
Update docs for set-property
1 parent 509850d commit 3f993d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

goml-script.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,12 +1618,12 @@ set-local-storage: {"key": null}
16181618
**set-property** command allows to update an element's property. Example:
16191619

16201620
```
1621-
set-property: ("details", {"open": "false"})
1621+
set-property: ("details", {"open": false})
16221622
// Same but with a XPath:
16231623
set-property: ("//details", {"property-name": "property-value"})
16241624
16251625
// Setting multiple properties at once:
1626-
set-property: ("details", {"open": "false", "another": "x"})
1626+
set-property: ("details", {"open": false, "another": "x"})
16271627
// Same but with a XPath:
16281628
set-property: ("//details", {"open": "false", "another": "x"})
16291629

0 commit comments

Comments
 (0)