IPopup

types.IPopup

Hierarchy

Implemented by

container

Readonly container: HTMLElement

Overrides

IUIElement.container

Defined in

src/types/popup.d.ts#21


isOpened

Readonly isOpened: boolean

Defined in

src/types/popup.d.ts#23


strategy

Readonly strategy: PopupStrategy

Defined in

src/types/popup.d.ts#24


viewBound

viewBound: () => IBound

Type declaration

(): IBound

Returns

IBound

Defined in

src/types/popup.d.ts#25


mods

mods: IDictionary<ModType>

Inherited from

IUIElement.mods

Defined in

src/types/traits.d.ts#28


async

Readonly async: IAsync

Inherited from

IUIElement.async

Defined in

src/types/types.d.ts#46


ownerDocument

Readonly ownerDocument: Document

Inherited from

IUIElement.ownerDocument

Defined in

src/types/types.d.ts#47


od

Readonly od: Document

Inherited from

IUIElement.od

Defined in

src/types/types.d.ts#48


ownerWindow

Readonly ownerWindow: Window

Inherited from

IUIElement.ownerWindow

Defined in

src/types/types.d.ts#49


ow

Readonly ow: Window

Inherited from

IUIElement.ow

Defined in

src/types/types.d.ts#50


componentName

Readonly componentName: string

Inherited from

IUIElement.componentName

Defined in

src/types/types.d.ts#54


uid

Readonly uid: string

Inherited from

IUIElement.uid

Defined in

src/types/types.d.ts#65


isDestructed

Readonly isDestructed: boolean

Inherited from

IUIElement.isDestructed

Defined in

src/types/types.d.ts#66


isInDestruct

Readonly isInDestruct: boolean

Inherited from

IUIElement.isInDestruct

Defined in

src/types/types.d.ts#67


isReady

Readonly isReady: boolean

Inherited from

IUIElement.isReady

Defined in

src/types/types.d.ts#68


componentStatus

Readonly componentStatus: ComponentStatus

Inherited from

IUIElement.componentStatus

Defined in

src/types/types.d.ts#70


jodit

jodit: IViewBased<IViewOptions>

Inherited from

IUIElement.jodit

Defined in

src/types/types.d.ts#82


j

Readonly j: IViewBased<IViewOptions>

Inherited from

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

IUIElement.i18n

Defined in

src/types/types.d.ts#85


defaultTimeout

Readonly defaultTimeout: number

Inherited from

IUIElement.defaultTimeout

Defined in

src/types/types.d.ts#86


parentElement

parentElement: Nullable<IUIElement>

Inherited from

IUIElement.parentElement

Defined in

src/types/ui.d.ts#30


name

name: string

Inherited from

IUIElement.name

Defined in

src/types/ui.d.ts#32

open

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

Parameters

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

Returns

this

Defined in

src/types/popup.d.ts#27


setContent

setContent(content): this

Parameters

Name Type
content string | HTMLElement | IUIElement

Returns

this

Defined in

src/types/popup.d.ts#33


updatePosition

updatePosition(): this

Returns

this

Defined in

src/types/popup.d.ts#34


close

close(): this

Returns

this

Defined in

src/types/popup.d.ts#36


isOwnClick

isOwnClick(e): boolean

Parameters

Name Type
e MouseEvent

Returns

boolean

Defined in

src/types/popup.d.ts#37


setZIndex

setZIndex(index): void

Parameters

Name Type
index number

Returns

void

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

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

IUIElement.afterSetMod

Defined in

src/types/traits.d.ts#25


getMod

getMod(name): ModType

Parameters

Name Type
name string

Returns

ModType

Inherited from

IUIElement.getMod

Defined in

src/types/traits.d.ts#27


getElm

getElm(elementName): Nullable<HTMLElement>

Parameters

Name Type
elementName string

Returns

Nullable<HTMLElement>

Inherited from

IUIElement.getElm

Defined in

src/types/traits.d.ts#32


getElms

getElms(elementName): HTMLElement[]

Parameters

Name Type
elementName string

Returns

HTMLElement[]

Inherited from

IUIElement.getElms

Defined in

src/types/traits.d.ts#33


destruct

destruct(jodit?): any

Parameters

Name Type
jodit? IViewBased<IViewOptions>

Returns

any

Inherited from

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

IUIElement.get

Defined in

src/types/types.d.ts#52


className

className(): string

Returns

string

Inherited from

IUIElement.className

Defined in

src/types/types.d.ts#55


getFullElName

getFullElName(elementName): string

Parameters

Name Type
elementName string

Returns

string

Inherited from

IUIElement.getFullElName

Defined in

src/types/types.d.ts#57

getFullElName(elementName, mod): string

Parameters

Name Type
elementName string
mod string

Returns

string

Inherited from

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

IUIElement.getFullElName

Defined in

src/types/types.d.ts#59


setStatus

setStatus(componentStatus): void

Parameters

Name Type
componentStatus ComponentStatus

Returns

void

Inherited from

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

IUIElement.hookStatus

Defined in

src/types/types.d.ts#73


bindDestruct

bindDestruct(component): this

Parameters

Name Type
component IComponent<IViewBased<IViewOptions>>

Returns

this

Inherited from

IUIElement.bindDestruct

Defined in

src/types/types.d.ts#78


setParentView

setParentView(jodit): this

Parameters

Name Type
jodit IViewBased<IViewOptions>

Returns

this

Inherited from

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

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

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

IUIElement.closest

Defined in

src/types/ui.d.ts#40


update

update(): void

Returns

void

Inherited from

IUIElement.update

Defined in

src/types/ui.d.ts#42


updateParentElement

updateParentElement(target): this

Parameters

Name Type
target IUIElement

Returns

this

Inherited from

IUIElement.updateParentElement

Defined in

src/types/ui.d.ts#43


appendTo

appendTo(element): this

Parameters

Name Type
element HTMLElement

Returns

this

Inherited from

IUIElement.appendTo

Defined in

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