Skip to content

Commit

Permalink
docs: fix default attr_value_brace_style
Browse files Browse the repository at this point in the history
  • Loading branch information
bram209 authored Jul 10, 2024
1 parent b8dd56d commit 4d3c70f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Whether or not to add braces around single expression attribute values.

### Examples

`"AlwaysUnlessLit"` (default):
`"AlwaysUnlessLit"`:

```rust
<div on:click=move |_| set_value(0) disabled=is_disabled />
Expand All @@ -33,7 +33,7 @@ Whether or not to add braces around single expression attribute values.
<img width={100} height={200} class={"banner"} alt={"test"} />
```

`"WhenRequired"`:
`"WhenRequired"` (default):

```rust
<div on:click={move |_| set_value(0)} disabled={is_disabled} />
Expand Down

0 comments on commit 4d3c70f

Please sign in to comment.