Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/guide/essentials/class-and-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ This will always apply `errorClass`, but `activeClass` will only be applied when
However, this can be a bit verbose if you have multiple conditional classes. That's why it's also possible to use the object syntax inside the array syntax:

```vue-html
<div :class="[{ active: isActive }, errorClass]"></div>
<div :class="[{ activeClass: isActive }, errorClass]"></div>
```

### With Components {#with-components}
Expand Down