IDlgs

types.IDlgs

Hierarchy

Implemented by

dlg

dlg(options?): IDialog

Parameters

Name Type
options? IDialogOptions

Returns

IDialog

Defined in

src/types/traits.d.ts#37


confirm

confirm(msg, title, callback?): IDialog

Parameters

Name Type
msg string
title undefined | string | (yes: boolean) => void
callback? (yes: boolean) => false | void

Returns

IDialog

Defined in

src/types/traits.d.ts#39


prompt

prompt(msg, title, callback, placeholder?, defaultValue?): IDialog

Parameters

Name Type
msg string
title undefined | string | () => false | void
callback (value: string) => false | void
placeholder? string
defaultValue? string

Returns

IDialog

Defined in

src/types/traits.d.ts#45


alert

alert(msg, title?, callback?, className?): IDialog

Parameters

Name Type
msg string | HTMLElement
title? string | () => false | void
callback? string | (dialog: IDialog) => false | void
className? string

Returns

IDialog

Defined in

jodit/src/types/traits.d.ts:53