UNPKG

ziko

Version:

A versatile JavaScript library offering a rich set of Hyperscript Based UI components, advanced mathematical utilities, interactivity ,animations, client side routing and more ...

20 lines (14 loc) 599 B
import { ZikoEvent } from "../ziko-event.js"; import type { Callback } from './__Shared__.js'; import { UIElement } from "../../ui/index.js"; declare class ZikoEventFocus extends ZikoEvent { constructor(target: any, customizer?: Function); // Explicitly declare the dynamic methods to get editor support onFocus(...callbacks: Callback<ZikoEventFocus>[]): this; onBlur(...callbacks: Callback<ZikoEventFocus>[]): this; } declare const bind_focus_event: (target: UIElement, customizer?: Function) => ZikoEventFocus; export { ZikoEventFocus, bind_focus_event, };