Skip to content

fix: duplicated id for some headings (#2049) #2064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2022
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
4 changes: 2 additions & 2 deletions src/guide/essentials/class-and-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A common need for data binding is manipulating an element's class list and inlin
<VueSchoolLink href="https://vueschool.io/lessons/vue-fundamentals-capi-dynamic-css-classes-with-vue" title="Free Vue.js Dynamic CSS Classes Lesson"/>
</div>

### Binding to Objects {#binding-to-objects} {#binding-to-objects}
### Binding to Objects {#binding-to-objects}

We can pass an object to `:class` (short for `v-bind:class`) to dynamically toggle classes:

Expand Down Expand Up @@ -136,7 +136,7 @@ computed: {
<div :class="classObject"></div>
```

### Binding to Arrays {#binding-to-arrays} {#binding-to-arrays}
### Binding to Arrays {#binding-to-arrays}

We can bind `:class` to an array to apply a list of classes:

Expand Down