IContextMenu

types.IContextMenu

Hierarchy

Implemented by

container

Readonly container: HTMLElement

Inherited from

IPopup.container

Defined in

src/types/popup.d.ts#21


isOpened

Readonly isOpened: boolean

Inherited from

IPopup.isOpened

Defined in

src/types/popup.d.ts#23


strategy

Readonly strategy: PopupStrategy

Inherited from

IPopup.strategy

Defined in

src/types/popup.d.ts#24


viewBound

viewBound: () => IBound

Type declaration

(): IBound

Returns

IBound

Inherited from

IPopup.viewBound

Defined in

src/types/popup.d.ts#25


mods

mods: IDictionary<ModType>

Inherited from

IPopup.mods

Defined in

src/types/traits.d.ts#28


async

Readonly async: IAsync

Inherited from

IPopup.async

Defined in

src/types/types.d.ts#46


ownerDocument

Readonly ownerDocument: Document

Inherited from

IPopup.ownerDocument

Defined in

src/types/types.d.ts#47


od

Readonly od: Document

Inherited from

IPopup.od

Defined in

src/types/types.d.ts#48


ownerWindow

Readonly ownerWindow: Window

Inherited from

IPopup.ownerWindow

Defined in

src/types/types.d.ts#49


ow

Readonly ow: Window

Inherited from

IPopup.ow

Defined in

src/types/types.d.ts#50


componentName

Readonly componentName: string

Inherited from

IPopup.componentName

Defined in

src/types/types.d.ts#54


uid

Readonly uid: string

Inherited from

IPopup.uid

Defined in

src/types/types.d.ts#65


isDestructed

Readonly isDestructed: boolean

Inherited from

IPopup.isDestructed

Defined in

src/types/types.d.ts#66


isInDestruct

Readonly isInDestruct: boolean

Inherited from

IPopup.isInDestruct

Defined in

src/types/types.d.ts#67


isReady

Readonly isReady: boolean

Inherited from

IPopup.isReady

Defined in

src/types/types.d.ts#68


componentStatus

Readonly componentStatus: ComponentStatus

Inherited from

IPopup.componentStatus

Defined in

src/types/types.d.ts#70


jodit

jodit: IViewBased<IViewOptions>

Inherited from

IPopup.jodit

Defined in

src/types/types.d.ts#82


j

Readonly j: IViewBased<IViewOptions>

Inherited from

IPopup.j

Defined in

src/types/types.d.ts#83


i18n

Readonly i18n: (text: string, ...params: (string | number)[]) => string

Type declaration

(text, ...params): string

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

string

Inherited from

IPopup.i18n

Defined in

src/types/types.d.ts#85


defaultTimeout

Readonly defaultTimeout: number

Inherited from

IPopup.defaultTimeout

Defined in

src/types/types.d.ts#86


parentElement

parentElement: Nullable<IUIElement>

Inherited from

IPopup.parentElement

Defined in

src/types/ui.d.ts#30


name

name: string

Inherited from

IPopup.name

Defined in

src/types/ui.d.ts#32

show

show(x, y, actions): void

Parameters

Name Type
x number
y number
actions (false | IContextMenuAction)[]

Returns

void

Defined in

src/types/context.d.ts#22


open

open(getBound, keepPosition?, parentContainer?): this

Parameters

Name Type
getBound () => IBound
keepPosition? boolean
parentContainer? HTMLElement

Returns

this

Inherited from

IPopup.open

Defined in

src/types/popup.d.ts#27


setContent

setContent(content): this

Parameters

Name Type
content string | HTMLElement | IUIElement

Returns

this

Inherited from

IPopup.setContent

Defined in

src/types/popup.d.ts#33


updatePosition

updatePosition(): this

Returns

this

Inherited from

IPopup.updatePosition

Defined in

src/types/popup.d.ts#34


close

close(): this

Returns

this

Inherited from

IPopup.close

Defined in

src/types/popup.d.ts#36


isOwnClick

isOwnClick(e): boolean

Parameters

Name Type
e MouseEvent

Returns

boolean

Inherited from

IPopup.isOwnClick

Defined in

src/types/popup.d.ts#37


setZIndex

setZIndex(index): void

Parameters

Name Type
index number

Returns

void

Inherited from

IPopup.setZIndex

Defined in

src/types/popup.d.ts#39


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

IPopup.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

IPopup.afterSetMod

Defined in

src/types/traits.d.ts#25


getMod

getMod(name): ModType

Parameters

Name Type
name string

Returns

ModType

Inherited from

IPopup.getMod

Defined in

src/types/traits.d.ts#27


getElm

getElm(elementName): Nullable<HTMLElement>

Parameters

Name Type
elementName string

Returns

Nullable<HTMLElement>

Inherited from

IPopup.getElm

Defined in

src/types/traits.d.ts#32


getElms

getElms(elementName): HTMLElement[]

Parameters

Name Type
elementName string

Returns

HTMLElement[]

Inherited from

IPopup.getElms

Defined in

src/types/traits.d.ts#33


destruct

destruct(jodit?): any

Parameters

Name Type
jodit? IViewBased<IViewOptions>

Returns

any

Inherited from

IPopup.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

IPopup.get

Defined in

src/types/types.d.ts#52


className

className(): string

Returns

string

Inherited from

IPopup.className

Defined in

src/types/types.d.ts#55


getFullElName

getFullElName(elementName): string

Parameters

Name Type
elementName string

Returns

string

Inherited from

IPopup.getFullElName

Defined in

src/types/types.d.ts#57

getFullElName(elementName, mod): string

Parameters

Name Type
elementName string
mod string

Returns

string

Inherited from

IPopup.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

IPopup.getFullElName

Defined in

src/types/types.d.ts#59


setStatus

setStatus(componentStatus): void

Parameters

Name Type
componentStatus ComponentStatus

Returns

void

Inherited from

IPopup.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

IPopup.hookStatus

Defined in

src/types/types.d.ts#73


bindDestruct

bindDestruct(component): this

Parameters

Name Type
component IComponent<IViewBased<IViewOptions>>

Returns

this

Inherited from

IPopup.bindDestruct

Defined in

src/types/types.d.ts#78


setParentView

setParentView(jodit): this

Parameters

Name Type
jodit IViewBased<IViewOptions>

Returns

this

Inherited from

IPopup.setParentView

Defined in

src/types/types.d.ts#84


bubble

bubble(callback): this

Apply callback for all parents

Parameters

Name Type
callback (parent: IUIElement) => void

Returns

this

Inherited from

IPopup.bubble

Defined in

src/types/ui.d.ts#37


closest

closest<T>(type): Nullable<T>

Type parameters

Name Type
T extends IUIElement

Parameters

Name Type
type Function

Returns

Nullable<T>

Inherited from

IPopup.closest

Defined in

src/types/ui.d.ts#39

closest<T>(type): Nullable<T>

Type parameters

Name Type
T extends IUIElement

Parameters

Name Type
type Function | T

Returns

Nullable<T>

Inherited from

IPopup.closest

Defined in

src/types/ui.d.ts#40


update

update(): void

Returns

void

Inherited from

IPopup.update

Defined in

src/types/ui.d.ts#42


updateParentElement

updateParentElement(target): this

Parameters

Name Type
target IUIElement

Returns

this

Inherited from

IPopup.updateParentElement

Defined in

src/types/ui.d.ts#43


appendTo

appendTo(element): this

Parameters

Name Type
element HTMLElement

Returns

this

Inherited from

IPopup.appendTo

Defined in

jodit/src/types/ui.d.ts:44