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) • 440 B
TypeScript
import { SurveyCreatorModel } from "survey-creator-core";
export interface IConfirmDialogOptions {
title: string;
message: string;
iconName: string;
category?: "warning" | "danger";
showCloseButton: boolean;
applyText: string;
cancelText: string;
onApply: () => boolean;
onCancel: () => void;
}
export declare function showConfirmDialog(creator: SurveyCreatorModel, options: IConfirmDialogOptions): any;