mirror of https://github.com/sveltejs/svelte
parent
82b1b75afe
commit
b3b95d4ee6
@ -0,0 +1,15 @@
|
|||||||
|
[{
|
||||||
|
"message": "The 'passive' and 'preventDefault' modifiers cannot be used together",
|
||||||
|
"code": "invalid-event-modifier",
|
||||||
|
"start": {
|
||||||
|
"line": 1,
|
||||||
|
"column": 5,
|
||||||
|
"character": 5
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 1,
|
||||||
|
"column": 52,
|
||||||
|
"character": 52
|
||||||
|
},
|
||||||
|
"pos": 5
|
||||||
|
}]
|
@ -0,0 +1,3 @@
|
|||||||
|
<div on:wheel|passive|preventDefault="handleWheel()">
|
||||||
|
oops
|
||||||
|
</div>
|
Loading…
Reference in new issue