/** * Event handling directive. * * @packageDocumentation */ import { Directive } from '../types.js'; /** * Bind event handler to element. * * @remarks * The handler receives the event object and can call preventDefault(), * stopPropagation(), etc. as needed. * * @example * ```html * *
* * ``` */ export declare const on: Directive<['$expr', '$element', '$eval', '$scope']>;