File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Default is set to `never`.
3838</template>
3939```
4040
41- :-1: Examples of **incorrect** code` :
41+ :-1: Examples of **incorrect** code:
4242
4343```html
4444<template>
@@ -50,22 +50,22 @@ Default is set to `never`.
5050
5151### `"never"` - Never use expresions that contain `this` keyword in expressions
5252
53- :+1: Examples of **correct** code` :
53+ :+1: Examples of **correct** code:
5454
5555```html
5656<template>
57- <div :class="{'show': this. showFoo}">
58- {{ this. foo }}
57+ <div :class="{'show': showFoo}">
58+ {{ foo }}
5959 </div>
6060</template>
6161```
6262
63- :-1: Examples of **incorrect** code` :
63+ :-1: Examples of **incorrect** code:
6464
6565```html
6666<template>
67- <div :class="{'show': showFoo}">
68- {{ foo }}
67+ <div :class="{'show': this. showFoo}">
68+ {{ this. foo }}
6969 </div>
7070</template>
7171```
You can’t perform that action at this time.
0 commit comments