IPopup
- 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
- 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.IPopup
Hierarchy
-
↳
IPopup
↳↳
IContextMenu
Implemented by
container
Readonly
container: HTMLElement
Overrides
Defined in
isOpened
Readonly
isOpened: boolean
Defined in
strategy
Readonly
strategy: PopupStrategy
Defined in
viewBound
viewBound: () => IBound
Type declaration
(): IBound
Returns
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
open
open(getBound
, keepPosition?
, parentContainer?
): this
Parameters
Name | Type |
---|---|
getBound |
() => IBound |
keepPosition? |
boolean |
parentContainer? |
HTMLElement |
Returns
this
Defined in
setContent
setContent(content
): this
Parameters
Name | Type |
---|---|
content |
string | HTMLElement | IUIElement |
Returns
this
Defined in
updatePosition
updatePosition(): this
Returns
this
Defined in
close
close(): this
Returns
this
Defined in
isOwnClick
isOwnClick(e
): boolean
Parameters
Name | Type |
---|---|
e |
MouseEvent |
Returns
boolean
Defined in
setZIndex
setZIndex(index
): void
Parameters
Name | Type |
---|---|
index |
number |
Returns
void
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
IUIElement.updateParentElement
Defined in
appendTo
appendTo(element
): this
Parameters
Name | Type |
---|---|
element |
HTMLElement |
Returns
this
Inherited from
Defined in
jodit/src/types/ui.d.ts:44