We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d52a499 commit ca02043Copy full SHA for ca02043
src/compiler/codegen/events.js
@@ -36,10 +36,10 @@ const modifierCode: { [key: string]: string } = {
36
37
export function genHandlers (
38
events: ASTElementHandlers,
39
- native: boolean,
+ isNative: boolean,
40
warn: Function
41
): string {
42
- let res = native ? 'nativeOn:{' : 'on:{'
+ let res = isNative ? 'nativeOn:{' : 'on:{'
43
for (const name in events) {
44
const handler = events[name]
45
// #5330: warn click.right, since right clicks do not actually fire click events.
0 commit comments