Skip to content

Commit 382dcd9

Browse files
authored
missing exclamation marks in examples (#2230)
1 parent 0631aa5 commit 382dcd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/essentials/class-and-style.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Then add some classes when using it:
209209
The rendered HTML will be:
210210

211211
```vue-html
212-
<p class="foo bar baz boo">Hi</p>
212+
<p class="foo bar baz boo">Hi!</p>
213213
```
214214

215215
The same is true for class bindings:
@@ -221,7 +221,7 @@ The same is true for class bindings:
221221
When `isActive` is truthy, the rendered HTML will be:
222222

223223
```vue-html
224-
<p class="foo bar active">Hi</p>
224+
<p class="foo bar active">Hi!</p>
225225
```
226226

227227
If your component has multiple root elements, you would need to define which element will receive this class. You can do this using the `$attrs` component property:

0 commit comments

Comments
 (0)