Skip to content

Commit

Permalink
Update 1-vue-getting-started/3-attribute-binding.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Harrison authored Feb 24, 2021
1 parent b0bfa50 commit 5896422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1-vue-getting-started/3-attribute-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The example above is static though. If you want to be able to change the data, y
</script>
```

The data property `classObject` has two properties where their values are booleans. The boolean values allows you to _enable_ or _disable_ specific classes. Setting `centered` to `false` would render `<div class="active">`, as `active` would be the only property that's still `true`.
The data property `classObject` has two properties where their values are booleans. The boolean values allows you to *enable* or *disable* specific classes. Setting `centered` to `false` would render `<div class="active">`, as `active` would be the only property that's still `true`.

> ![NOTE]
> When creating a class object, JavaScript naming rules apply. If you have a class name which uses a dash, such as `center-text`, you will have to place the name in quotes (`'center-text': true`) when adding the property.
Expand Down

0 comments on commit 5896422

Please sign in to comment.