UNPKG

@diondre27/smart-components

Version:

Smart Web Components

14 lines (12 loc) 692 B
export * from '../dist/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>;