mirror of https://github.com/sveltejs/svelte
add nonpassive event modifier (#5442)
Co-authored-by: filipot <filipot@stud.ntnu.no>pull/4296/merge
parent
41d1656458
commit
a1651ca271
@ -0,0 +1,15 @@
|
||||
[{
|
||||
"message": "The 'passive' and 'nonpassive' modifiers cannot be used together",
|
||||
"code": "invalid-event-modifier",
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 5,
|
||||
"character": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 51,
|
||||
"character": 51
|
||||
},
|
||||
"pos": 5
|
||||
}]
|
@ -0,0 +1,3 @@
|
||||
<div on:touchstart|nonpassive|passive={handleWheel}>
|
||||
oops
|
||||
</div>
|
Loading…
Reference in new issue