Skip to content

Commit 7fa317a

Browse files
MachinisteWebchrisvfritz
authored andcommitted
[Doc EN]: event.md add space to new part (#1363)
* New in with + symbol Signed-off-by: Bruno Lesieur <[email protected]> * Review of 2.5.0 doc Signed-off-by: Bruno Lesieur <[email protected]> * Review Signed-off-by: Bruno Lesieur <[email protected]> * Fix syntax typo Signed-off-by: Bruno Lesieur <[email protected]> * Add space between new line of documentation Signed-off-by: MachinisteWeb <[email protected]> * Add @posva review Signed-off-by: MachinisteWeb <[email protected]>
1 parent 3de11ad commit 7fa317a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/v2/guide/events.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,7 @@ Unlike the other modifiers, which are exclusive to native DOM events, the `.once
212212
<div v-on:scroll.passive="onScroll">...</div>
213213
```
214214

215-
In addition to these modifiers, Vue provides `.passive` modifier to improve the performance on mobile especially.
216-
For example, when performing a scroll, the browser will scroll after the process has completed because the browser doesn’t know if the event is going to call `event.preventDefault()` within its handler.
217-
`.passive` modifier can be used to tell the browser that this event will not cancel the default event behavior in advance.
215+
In addition to these modifiers, Vue provides `.passive` modifier to improve the performance on mobile especially. For example, when performing a scroll, the browser will scroll after the process has completed because the browser doesn’t know if the event is going to call `event.preventDefault()` within its handler. `.passive` modifier can be used to tell the browser that this event will not cancel the default event behavior in advance.
218216

219217
<p class="tip">Don't use `.passive` and `.prevent` together. Passive handler can't prevent default event.</p>
220218

0 commit comments

Comments
 (0)