UNPKG

survey-creator-core

Version:

Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.

24 lines (23 loc) 939 B
export declare class DomDocumentHelper { static isAvailable(): boolean; static getBody(): HTMLElement; static getDocumentElement(): HTMLElement; static getDocument(): Document; static getCookie(): string; static setCookie(newCookie: string): void; static activeElementBlur(): Document; static createElement(tagName: string): HTMLElement; static getComputedStyle(elt: Element): CSSStyleDeclaration; static addEventListener(type: string, listener: (e?: any) => void): void; static removeEventListener(type: string, listener: (e?: any) => void): void; } export declare class CreatorStylesManager { private static SurveyJSCreatorStylesSheetId; static Enabled: boolean; static findSheet(styleSheetId: string): any; static createSheet(styleSheetId: string): any; static insertStylesRulesIntoDocument(rules: Array<{ selector: string; styles: string; }>): any; }