UNPKG

@nent/core

Version:

Functional elements to add routing, data-binding, dynamic HTML, declarative actions, audio, video, and so much more. Supercharge static HTML files into web apps without script or builds.

13 lines (12 loc) 687 B
export * from '../types/components'; export interface CustomElementsDefineOptions { exclude?: string[]; resourcesUrl?: string; syncQueue?: boolean; jmp?: (c: Function) => any; raf?: (c: FrameRequestCallback) => number; ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; } export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>; export declare function applyPolyfills(): Promise<void>;