Skip to content

Commit

Permalink
Fixed typos in view page
Browse files Browse the repository at this point in the history
  • Loading branch information
David-OConnor committed Feb 3, 2020
1 parent dbdfd90 commit f56f39b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crate/guides/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ For boolean attributes that are handled by presense or absense, like `disabled`,
```rust
fn a_component() -> Node<Msg> {
// ...
input![ attrs!{At::Typed => "checkbox"; At::Checked => true.as_at_value()} ]
input![ attrs!{At::Autofocus => true.as_at_value()} ]
input![ attrs!{At::Type => "checkbox"; At::Checked => true.as_at_value()} ]
input![ attrs!{At::AutoFocus => true.as_at_value()} ]
// ...
}
```
Expand Down

0 comments on commit f56f39b

Please sign in to comment.