IDialog

types.IDialog

Hierarchy

Implemented by

isOpened

isOpened: boolean

Defined in

src/types/dialog.d.ts#32


dialog

dialog: HTMLElement

Defined in

src/types/dialog.d.ts#33


mods

mods: IDictionary<ModType>

Inherited from

IViewBased.mods

Defined in

src/types/traits.d.ts#28


container

container: HTMLElement

Inherited from

IViewBased.container

Defined in

src/types/types.d.ts#42


async

Readonly async: IAsync

Inherited from

IViewBased.async

Defined in

src/types/types.d.ts#46


ownerDocument

Readonly ownerDocument: Document

Inherited from

IViewBased.ownerDocument

Defined in

src/types/types.d.ts#47


od

Readonly od: Document

Inherited from

IViewBased.od

Defined in

src/types/types.d.ts#48


ownerWindow

Readonly ownerWindow: Window

Inherited from

IViewBased.ownerWindow

Defined in

src/types/types.d.ts#49


ow

Readonly ow: Window

Inherited from

IViewBased.ow

Defined in

src/types/types.d.ts#50


componentName

Readonly componentName: string

Inherited from

IViewBased.componentName

Defined in

src/types/types.d.ts#54


uid

Readonly uid: string

Inherited from

IViewBased.uid

Defined in

src/types/types.d.ts#65


isDestructed

Readonly isDestructed: boolean

Inherited from

IViewBased.isDestructed

Defined in

src/types/types.d.ts#66


isInDestruct

Readonly isInDestruct: boolean

Inherited from

IViewBased.isInDestruct

Defined in

src/types/types.d.ts#67


isReady

Readonly isReady: boolean

Inherited from

IViewBased.isReady

Defined in

src/types/types.d.ts#68


componentStatus

Readonly componentStatus: ComponentStatus

Inherited from

IViewBased.componentStatus

Defined in

src/types/types.d.ts#70


isView

Readonly isView: true

Inherited from

IViewBased.isView

Defined in

src/types/view.d.ts#109


parent

Readonly parent: Nullable<IViewBased<IViewOptions>>

Inherited from

IViewBased.parent

Defined in

src/types/view.d.ts#110


id

Readonly id: string

ID attribute for a source element, id add {id}_editor it's editor's id

Inherited from

IViewBased.id

Defined in

src/types/view.d.ts#115


basePath

Readonly basePath: string

Inherited from

IViewBased.basePath

Defined in

src/types/view.d.ts#117


isLocked

Readonly isLocked: boolean

Inherited from

IViewBased.isLocked

Defined in

src/types/view.d.ts#119


isFullSize

Readonly isFullSize: boolean

Inherited from

IViewBased.isFullSize

Defined in

src/types/view.d.ts#124


buffer

Readonly buffer: IStorage<StorageValueType>

Inherited from

IViewBased.buffer

Defined in

src/types/view.d.ts#127


storage

Readonly storage: IStorage<StorageValueType>

Inherited from

IViewBased.storage

Defined in

src/types/view.d.ts#128


progressbar

Readonly progressbar: IProgressBar

Inherited from

IViewBased.progressbar

Defined in

src/types/view.d.ts#130


events

Readonly events: IEventEmitter

Inherited from

IViewBased.events

Defined in

src/types/view.d.ts#132


e

Readonly e: IEventEmitter

Inherited from

IViewBased.e

Defined in

src/types/view.d.ts#133


create

Readonly create: ICreate

Inherited from

IViewBased.create

Defined in

src/types/view.d.ts#135


c

Readonly c: ICreate

Inherited from

IViewBased.c

Defined in

src/types/view.d.ts#136


OPTIONS

Readonly OPTIONS: IViewOptions

Inherited from

IViewBased.OPTIONS

Defined in

src/types/view.d.ts#138


options

Readonly options: IViewOptions

Inherited from

IViewBased.options

Defined in

src/types/view.d.ts#139


o

Readonly o: IViewOptions

Inherited from

IViewBased.o

Defined in

src/types/view.d.ts#141


defaultTimeout

Readonly defaultTimeout: number

Inherited from

IViewBased.defaultTimeout

Defined in

src/types/view.d.ts#145


components

Readonly components: Set<IComponent<IViewBased<IViewOptions>>>

Inherited from

IViewBased.components

Defined in

src/types/view.d.ts#149


message

Readonly message: IMessages

Inherited from

IViewBased.message

Defined in

src/types/view.d.ts#153

open

open(destroyAfter): this

Parameters

Name Type
destroyAfter boolean

Returns

this

Defined in

src/types/dialog.d.ts#35

open(destroyAfter, modal): this

Parameters

Name Type
destroyAfter boolean
modal boolean

Returns

this

Defined in

src/types/dialog.d.ts#36

open(content?, title?, destroyAfter?, modal?): this

Parameters

Name Type
content? Content
title? Content
destroyAfter? boolean
modal? boolean

Returns

this

Defined in

src/types/dialog.d.ts#37


close

close(): this

Returns

this

Defined in

src/types/dialog.d.ts#44


setSize

setSize(w?, h?): this

Parameters

Name Type
w? string | number
h? string | number

Returns

this

Defined in

src/types/dialog.d.ts#46


calcAutoSize

calcAutoSize(): this

Returns

this

Defined in

src/types/dialog.d.ts#47


setPosition

setPosition(x?, y?): this

Parameters

Name Type
x? number
y? number

Returns

this

Defined in

src/types/dialog.d.ts#49


setHeader

setHeader(content): this

Parameters

Name Type
content Content

Returns

this

Defined in

src/types/dialog.d.ts#50


setContent

setContent(content): this

Parameters

Name Type
content Content

Returns

this

Defined in

src/types/dialog.d.ts#51


setFooter

setFooter(content): this

Parameters

Name Type
content Content

Returns

this

Defined in

src/types/dialog.d.ts#52


setModal

setModal(modal): this

Parameters

Name Type
modal undefined | boolean

Returns

this

Defined in

src/types/dialog.d.ts#53


getZIndex

getZIndex(): number

Returns

number

Defined in

src/types/dialog.d.ts#54


setMod

setMod<T>(this, name, value): T

Set/remove modification (null - remove)

Type parameters

Name Type
T extends IComponent<IViewBased<IViewOptions>> & IContainer & IMods

Parameters

Name Type
this T
name string
value ModType

Returns

T

Inherited from

IViewBased.setMod

Defined in

src/types/traits.d.ts#20


afterSetMod

afterSetMod(name, value): void

Parameters

Name Type
name string
value ModType

Returns

void

Inherited from

IViewBased.afterSetMod

Defined in

src/types/traits.d.ts#25


getMod

getMod(name): ModType

Parameters

Name Type
name string

Returns

ModType

Inherited from

IViewBased.getMod

Defined in

src/types/traits.d.ts#27


getElm

getElm(elementName): Nullable<HTMLElement>

Parameters

Name Type
elementName string

Returns

Nullable<HTMLElement>

Inherited from

IViewBased.getElm

Defined in

src/types/traits.d.ts#32


getElms

getElms(elementName): HTMLElement[]

Parameters

Name Type
elementName string

Returns

HTMLElement[]

Inherited from

IViewBased.getElms

Defined in

src/types/traits.d.ts#33


destruct

destruct(jodit?): any

Parameters

Name Type
jodit? IViewBased<IViewOptions>

Returns

any

Inherited from

IViewBased.destruct

Defined in

src/types/types.d.ts#32


get

get<T>(chain, obj?): Nullable<T>

Type parameters

Name
T

Parameters

Name Type
chain string
obj? IDictionary<any, string>

Returns

Nullable<T>

Inherited from

IViewBased.get

Defined in

src/types/types.d.ts#52


className

className(): string

Returns

string

Inherited from

IViewBased.className

Defined in

src/types/types.d.ts#55


getFullElName

getFullElName(elementName): string

Parameters

Name Type
elementName string

Returns

string

Inherited from

IViewBased.getFullElName

Defined in

src/types/types.d.ts#57

getFullElName(elementName, mod): string

Parameters

Name Type
elementName string
mod string

Returns

string

Inherited from

IViewBased.getFullElName

Defined in

src/types/types.d.ts#58

getFullElName(elementName, mod?, modValue?): string

Parameters

Name Type
elementName string
mod? string
modValue? string | boolean

Returns

string

Inherited from

IViewBased.getFullElName

Defined in

src/types/types.d.ts#59


setStatus

setStatus(componentStatus): void

Parameters

Name Type
componentStatus ComponentStatus

Returns

void

Inherited from

IViewBased.setStatus

Defined in

src/types/types.d.ts#71


hookStatus

hookStatus(status, callback): void

Parameters

Name Type
status ComponentStatus
callback (component: this) => void

Returns

void

Inherited from

IViewBased.hookStatus

Defined in

src/types/types.d.ts#73


bindDestruct

bindDestruct(component): this

Parameters

Name Type
component IComponent<IViewBased<IViewOptions>>

Returns

this

Inherited from

IViewBased.bindDestruct

Defined in

src/types/types.d.ts#78


isLockedNotBy

isLockedNotBy(name): boolean

Parameters

Name Type
name string

Returns

boolean

Inherited from

IViewBased.isLockedNotBy

Defined in

src/types/view.d.ts#120


lock

lock(name?): boolean

Parameters

Name Type
name? string

Returns

boolean

Inherited from

IViewBased.lock

Defined in

src/types/view.d.ts#121


unlock

unlock(): boolean

Returns

boolean

Inherited from

IViewBased.unlock

Defined in

src/types/view.d.ts#122


toggleFullSize

toggleFullSize(isFullSize?): void

Parameters

Name Type
isFullSize? boolean

Returns

void

Inherited from

IViewBased.toggleFullSize

Defined in

src/types/view.d.ts#125


i18n

i18n(text, ...params): string

Parameters

Name Type
text string
...params (string | number)[]

Returns

string

Inherited from

IViewBased.i18n

Defined in

src/types/view.d.ts#143


getVersion

getVersion(): string

Returns

string

Inherited from

IViewBased.getVersion

Defined in

src/types/view.d.ts#147


getInstance

getInstance<T>(module, options?): T

Type parameters

Name Type
T extends IComponent<IViewBased<IViewOptions>>

Parameters

Name Type
module Function
options? object

Returns

T

Inherited from

IViewBased.getInstance

Defined in

jodit/src/types/view.d.ts:150

getInstance<T>(moduleName, options?): T

Type parameters

Name Type
T extends IComponent<IViewBased<IViewOptions>>

Parameters

Name Type
moduleName string
options? object

Returns

T

Inherited from

IViewBased.getInstance

Defined in

jodit/src/types/view.d.ts:151