UNPKG

survey-core

Version:

A framework-independent core of the SurveyJS Form Library that works with rendering packages. Use it to integrate dynamic, interactive JSON-based forms and surveys into your app, collect user responses, and send them to your own database.

25 lines (24 loc) 954 B
import { EventBase } from "./base"; interface SvgIconData { [key: string]: string; } export declare class SvgIconRegistry { icons: SvgIconData; private iconPrefix; private processId; registerIconFromSymbol(iconId: string, iconSymbolSvg: string): void; registerIconFromSvgViaElement(iconId: string, iconSvg: string, iconPrefix?: string): void; registerIconFromSvg(iconId: string, iconSvg: string, iconPrefix?: string): boolean; registerIconsFromFolder(r: any): void; registerIcons(icons: SvgIconData): void; registerIcon(id: string, svg: string, iconSetVersion?: string): void; iconsRenderedHtml(): string; updateMarkup(): void; onIconsChanged: EventBase<SvgIconRegistry, {}>; } export declare const SvgRegistry: SvgIconRegistry; export declare const SvgThemeSets: { [index: string]: SvgIconData; }; export declare function addIconsToThemeSet(name: string, iconsData: SvgIconData): void; export {};