Skip to content

Commit

Permalink
Clarify interchangeability between signals and closure wrapped functi…
Browse files Browse the repository at this point in the history
…ons (#27)
  • Loading branch information
gihrig authored Dec 20, 2023
1 parent d5a53ea commit 1c175d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/view/02_dynamic_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ to our view:
```rust
<progress
max="50"
// signals are functions, so this <=> `move || count.get()`
// signals are functions, so `value=count` and `value=move || count.get()`
// are interchangeable.
value=count
/>
```
Expand Down

0 comments on commit 1c175d7

Please sign in to comment.