survey-creator-core
Version:
A framework-independent core package of the SurveyJS Survey Creator component. With Survey Creator, you can visually design complex, interactive JSON forms and surveys in a drag-and-drop interface.
25 lines (24 loc) • 857 B
TypeScript
import { ICreatorPreset, CreatorPresetBase } from "./presets-base";
import { SurveyCreatorModel } from "../creator-base";
export interface ICreatorPresetToolboxItem {
name: string;
iconName?: string;
json?: any;
title?: string;
tooltip?: string;
subitems?: ICreatorPresetToolboxItem[];
}
export declare class CreatorPresetToolboxDefinition extends CreatorPresetBase {
getPath(): string;
protected applyCore(creator: SurveyCreatorModel): void;
private applyDefinition;
private getPresetDefaultItems;
}
export declare class CreatorPresetToolboxConfigurator extends CreatorPresetBase {
getPath(): string;
protected applyCore(creator: SurveyCreatorModel): void;
}
export declare class CreatorPresetToolbox extends CreatorPresetBase {
getPath(): string;
protected createPresets(): Array<ICreatorPreset>;
}