Skip to content

Commit

Permalink
Update CodeSandbox Source comments (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
gihrig authored Dec 22, 2023
1 parent 4532330 commit 6190d37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/view/02_dynamic_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ fn App() -> impl IntoView {
// passing a function to an attribute
// reactively sets that attribute
// signals are functions, so this <=> `move || count.get()`
// signals are functions, so `value=count` and `value=move || count.get()`
// are interchangeable.
value=count
></progress>
<br/>
Expand All @@ -237,7 +238,7 @@ fn App() -> impl IntoView {
<progress
max="50"
// derived signals are functions, so they can also
// reactive update the DOM
// reactively update the DOM
value=double_count
></progress>
<p>"Count: " {count}</p>
Expand Down

0 comments on commit 6190d37

Please sign in to comment.