IContextMenu
- Hierarchy
- Implemented by
- container
- isOpened
- strategy
- viewBound
- mods
- async
- ownerDocument
- od
- ownerWindow
- ow
- componentName
- uid
- isDestructed
- isInDestruct
- isReady
- componentStatus
- jodit
- j
- i18n
- defaultTimeout
- parentElement
- name
- show
- open
- setContent
- updatePosition
- close
- isOwnClick
- setZIndex
- setMod
- afterSetMod
- getMod
- getElm
- getElms
- destruct
- get
- className
- getFullElName
- setStatus
- hookStatus
- bindDestruct
- setParentView
- bubble
- closest
- update
- updateParentElement
- appendTo
types.IContextMenu
Hierarchy
-
↳
IContextMenu
Implemented by
container
Readonly
container: HTMLElement
Inherited from
Defined in
isOpened
Readonly
isOpened: boolean
Inherited from
Defined in
strategy
Readonly
strategy: PopupStrategy
Inherited from
Defined in
viewBound
viewBound: () => IBound
Type declaration
(): IBound
Returns
Inherited from
Defined in
mods
mods: IDictionary
<ModType
>
Inherited from
Defined in
async
Readonly
async: IAsync
Inherited from
Defined in
ownerDocument
Readonly
ownerDocument: Document
Inherited from
Defined in
od
Readonly
od: Document
Inherited from
Defined in
ownerWindow
Readonly
ownerWindow: Window
Inherited from
Defined in
ow
Readonly
ow: Window
Inherited from
Defined in
componentName
Readonly
componentName: string
Inherited from
Defined in
uid
Readonly
uid: string
Inherited from
Defined in
isDestructed
Readonly
isDestructed: boolean
Inherited from
Defined in
isInDestruct
Readonly
isInDestruct: boolean
Inherited from
Defined in
isReady
Readonly
isReady: boolean
Inherited from
Defined in
componentStatus
Readonly
componentStatus: ComponentStatus
Inherited from
Defined in
jodit
jodit: IViewBased
<IViewOptions
>
Inherited from
Defined in
j
Readonly
j: IViewBased
<IViewOptions
>
Inherited from
Defined in
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
Defined in
defaultTimeout
Readonly
defaultTimeout: number
Inherited from
Defined in
parentElement
parentElement: Nullable
<IUIElement
>
Inherited from
Defined in
name
name: string
Inherited from
Defined in
show
show(x
, y
, actions
): void
Parameters
Name | Type |
---|---|
x |
number |
y |
number |
actions |
(false | IContextMenuAction )[] |
Returns
void
Defined in
open
open(getBound
, keepPosition?
, parentContainer?
): this
Parameters
Name | Type |
---|---|
getBound |
() => IBound |
keepPosition? |
boolean |
parentContainer? |
HTMLElement |
Returns
this
Inherited from
Defined in
setContent
setContent(content
): this
Parameters
Name | Type |
---|---|
content |
string | HTMLElement | IUIElement |
Returns
this
Inherited from
Defined in
updatePosition
updatePosition(): this
Returns
this
Inherited from
Defined in
close
close(): this
Returns
this
Inherited from
Defined in
isOwnClick
isOwnClick(e
): boolean
Parameters
Name | Type |
---|---|
e |
MouseEvent |
Returns
boolean
Inherited from
Defined in
setZIndex
setZIndex(index
): void
Parameters
Name | Type |
---|---|
index |
number |
Returns
void
Inherited from
Defined in
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
Defined in
afterSetMod
afterSetMod(name
, value
): void
Parameters
Name | Type |
---|---|
name |
string |
value |
ModType |
Returns
void
Inherited from
Defined in
getMod
getMod(name
): ModType
Parameters
Name | Type |
---|---|
name |
string |
Returns
Inherited from
Defined in
getElm
getElm(elementName
): Nullable
<HTMLElement
>
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
Inherited from
Defined in
getElms
getElms(elementName
): HTMLElement
[]
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
Inherited from
Defined in
destruct
destruct(jodit?
): any
Parameters
Name | Type |
---|---|
jodit? |
IViewBased <IViewOptions > |
Returns
any
Inherited from
Defined in
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
Defined in
className
className(): string
Returns
string
Inherited from
Defined in
getFullElName
getFullElName(elementName
): string
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
string
Inherited from
Defined in
getFullElName(elementName
, mod
): string
Parameters
Name | Type |
---|---|
elementName |
string |
mod |
string |
Returns
string
Inherited from
Defined in
getFullElName(elementName
, mod?
, modValue?
): string
Parameters
Name | Type |
---|---|
elementName |
string |
mod? |
string |
modValue? |
string | boolean |
Returns
string
Inherited from
Defined in
setStatus
setStatus(componentStatus
): void
Parameters
Name | Type |
---|---|
componentStatus |
ComponentStatus |
Returns
void
Inherited from
Defined in
hookStatus
hookStatus(status
, callback
): void
Parameters
Name | Type |
---|---|
status |
ComponentStatus |
callback |
(component : this ) => void |
Returns
void
Inherited from
Defined in
bindDestruct
bindDestruct(component
): this
Parameters
Name | Type |
---|---|
component |
IComponent <IViewBased <IViewOptions >> |
Returns
this
Inherited from
Defined in
setParentView
setParentView(jodit
): this
Parameters
Name | Type |
---|---|
jodit |
IViewBased <IViewOptions > |
Returns
this
Inherited from
Defined in
bubble
bubble(callback
): this
Apply callback for all parents
Parameters
Name | Type |
---|---|
callback |
(parent : IUIElement ) => void |
Returns
this
Inherited from
Defined in
closest
closest<T
>(type
): Nullable
<T
>
Type parameters
Name | Type |
---|---|
T |
extends IUIElement |
Parameters
Name | Type |
---|---|
type |
Function |
Returns
Nullable
<T
>
Inherited from
Defined in
closest<T
>(type
): Nullable
<T
>
Type parameters
Name | Type |
---|---|
T |
extends IUIElement |
Parameters
Name | Type |
---|---|
type |
Function | T |
Returns
Nullable
<T
>
Inherited from
Defined in
update
update(): void
Returns
void
Inherited from
Defined in
updateParentElement
updateParentElement(target
): this
Parameters
Name | Type |
---|---|
target |
IUIElement |
Returns
this
Inherited from
Defined in
appendTo
appendTo(element
): this
Parameters
Name | Type |
---|---|
element |
HTMLElement |
Returns
this
Inherited from
Defined in
jodit/src/types/ui.d.ts:44