UNPKG

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.

14 lines (13 loc) 721 B
import { SurveyCreatorModel } from "../../creator-base"; import { ICreatorPlugin } from "../../creator-settings"; export declare class UndoRedoPlugin implements ICreatorPlugin { private creator; constructor(creator: SurveyCreatorModel); model: any; activate(): void; deactivate(): boolean; update(): void; addFooterActions(): void; } export declare function undoRedoTransaction(transactionName?: string, undoRedoManagerProperty?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function ignoreUndoRedo(undoRedoManagerProperty?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;