Dlgs

traits.Dlgs

Hierarchy

Implements

Implemented by

constructor

new Dlgs(): Dlgs

Returns

Dlgs

dlg

dlg(this, options?): IDialog

Parameters

Name Type
this IViewBased<IViewOptions> & IDlgs
options? IDialogOptions

Returns

IDialog

Implementation of

IDlgs.dlg

Defined in

src/core/traits/dlgs.ts#17


confirm

confirm(this, msg, title, callback?): IDialog

Parameters

Name Type
this IViewBased<IViewOptions> & IDlgs
msg string
title undefined | string | (yes: boolean) => void
callback? (yes: boolean) => false | void

Returns

IDialog

Implementation of

IDlgs.confirm

Defined in

src/core/traits/dlgs.ts#32


prompt

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

Parameters

Name Type
this IViewBased<IViewOptions> & IDlgs
msg string
title undefined | string | () => false | void
callback (value: string) => false | void
placeholder? string
defaultValue? string

Returns

IDialog

Implementation of

IDlgs.prompt

Defined in

src/core/traits/dlgs.ts#48


alert

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

Parameters

Name Type
this IViewBased<IViewOptions> & IDlgs
msg string | HTMLElement
title? string | () => false | void
callback? string | (dialog: IDialog) => false | void
className? string

Returns

IDialog

Implementation of

IDlgs.alert

Defined in

jodit/src/core/traits/dlgs.ts:70