Skip to content

Commit

Permalink
fix cookie example
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Jun 30, 2023
1 parent 245fa1e commit a671caf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/expressions/cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@ The attributes of the the javascript object will be interpreted as follows:
### Examples

```html
<div _="on click wait 2s then log 'hello world'">Hello World!</div>
<button _="on click set cookies.hello to 'world'">
Set the cookie 'hello' to 'world'!
</button>
```

0 comments on commit a671caf

Please sign in to comment.