UNPKG

688 BTypeScriptView Raw
1
2export * from '../types/components';
3export interface CustomElementsDefineOptions {
4 exclude?: string[];
5 resourcesUrl?: string;
6 syncQueue?: boolean;
7 jmp?: (c: Function) => any;
8 raf?: (c: FrameRequestCallback) => number;
9 ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10 rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
11}
12export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
13export declare function applyPolyfills(): Promise<void>;