|
|
@ -3,14 +3,14 @@
|
|
|
|
import * as b from '#compiler/builders';
|
|
|
|
import * as b from '#compiler/builders';
|
|
|
|
import { build_event, build_event_handler } from './shared/events.js';
|
|
|
|
import { build_event, build_event_handler } from './shared/events.js';
|
|
|
|
|
|
|
|
|
|
|
|
const modifiers = [
|
|
|
|
const modifiers = /** @type {const} */ ([
|
|
|
|
'stopPropagation',
|
|
|
|
'stopPropagation',
|
|
|
|
'stopImmediatePropagation',
|
|
|
|
'stopImmediatePropagation',
|
|
|
|
'preventDefault',
|
|
|
|
'preventDefault',
|
|
|
|
'self',
|
|
|
|
'self',
|
|
|
|
'trusted',
|
|
|
|
'trusted',
|
|
|
|
'once'
|
|
|
|
'once'
|
|
|
|
];
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @param {AST.OnDirective} node
|
|
|
|
* @param {AST.OnDirective} node
|
|
|
|