IViewBased

types.IViewBased

Type parameters

Name Type
T IViewOptions

Hierarchy

Implemented by

mods

mods: IDictionary<ModType>

Inherited from

IMods.mods

Defined in

src/types/traits.d.ts#28


container

container: HTMLElement

Inherited from

IContainer.container

Defined in

src/types/types.d.ts#42


async

Readonly async: IAsync

Inherited from

IComponent.async

Defined in

src/types/types.d.ts#46


ownerDocument

Readonly ownerDocument: Document

Inherited from

IComponent.ownerDocument

Defined in

src/types/types.d.ts#47


od

Readonly od: Document

Inherited from

IComponent.od

Defined in

src/types/types.d.ts#48


ownerWindow

Readonly ownerWindow: Window

Inherited from

IComponent.ownerWindow

Defined in

src/types/types.d.ts#49


ow

Readonly ow: Window

Inherited from

IComponent.ow

Defined in

src/types/types.d.ts#50


componentName

Readonly componentName: string

Inherited from

IComponent.componentName

Defined in

src/types/types.d.ts#54


uid

Readonly uid: string

Inherited from

IComponent.uid

Defined in

src/types/types.d.ts#65


isDestructed

Readonly isDestructed: boolean

Inherited from

IComponent.isDestructed

Defined in

src/types/types.d.ts#66


isInDestruct

Readonly isInDestruct: boolean

Inherited from

IComponent.isInDestruct

Defined in

src/types/types.d.ts#67


isReady

Readonly isReady: boolean

Inherited from

IComponent.isReady

Defined in

src/types/types.d.ts#68


componentStatus

Readonly componentStatus: ComponentStatus

Inherited from

IComponent.componentStatus

Defined in

src/types/types.d.ts#70


isView

Readonly isView: true

Defined in

src/types/view.d.ts#108


parent

Readonly parent: Nullable<IViewBased<IViewOptions>>

Defined in

src/types/view.d.ts#109


id

Readonly id: string

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

Defined in

src/types/view.d.ts#114


basePath

Readonly basePath: string

Defined in

src/types/view.d.ts#116


isLocked

Readonly isLocked: boolean

Defined in

src/types/view.d.ts#118


isFullSize

Readonly isFullSize: boolean

Defined in

src/types/view.d.ts#123


buffer

Readonly buffer: IStorage<StorageValueType>

Defined in

src/types/view.d.ts#126


storage

Readonly storage: IStorage<StorageValueType>

Defined in

src/types/view.d.ts#127


progressbar

Readonly progressbar: IProgressBar

Defined in

src/types/view.d.ts#129


events

Readonly events: IEventEmitter

Defined in

src/types/view.d.ts#131


e

Readonly e: IEventEmitter

Defined in

src/types/view.d.ts#132


create

Readonly create: ICreate

Defined in

src/types/view.d.ts#134


c

Readonly c: ICreate

Defined in

src/types/view.d.ts#135


OPTIONS

Readonly OPTIONS: T

Defined in

src/types/view.d.ts#137


options

Readonly options: T

Defined in

src/types/view.d.ts#138


o

Readonly o: T

Defined in

src/types/view.d.ts#140


defaultTimeout

Readonly defaultTimeout: number

Defined in

src/types/view.d.ts#144


components

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

Defined in

src/types/view.d.ts#148


message

Readonly message: IMessages

Defined in

src/types/view.d.ts#152

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

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

IMods.afterSetMod

Defined in

src/types/traits.d.ts#25


getMod

getMod(name): ModType

Parameters

Name Type
name string

Returns

ModType

Inherited from

IMods.getMod

Defined in

src/types/traits.d.ts#27


getElm

getElm(elementName): Nullable<HTMLElement>

Parameters

Name Type
elementName string

Returns

Nullable<HTMLElement>

Inherited from

IElms.getElm

Defined in

src/types/traits.d.ts#32


getElms

getElms(elementName): HTMLElement[]

Parameters

Name Type
elementName string

Returns

HTMLElement[]

Inherited from

IElms.getElms

Defined in

src/types/traits.d.ts#33


destruct

destruct(jodit?): any

Parameters

Name Type
jodit? IViewBased<IViewOptions>

Returns

any

Inherited from

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

IComponent.get

Defined in

src/types/types.d.ts#52


className

className(): string

Returns

string

Inherited from

IComponent.className

Defined in

src/types/types.d.ts#55


getFullElName

getFullElName(elementName): string

Parameters

Name Type
elementName string

Returns

string

Inherited from

IComponent.getFullElName

Defined in

src/types/types.d.ts#57

getFullElName(elementName, mod): string

Parameters

Name Type
elementName string
mod string

Returns

string

Inherited from

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

IComponent.getFullElName

Defined in

src/types/types.d.ts#59


setStatus

setStatus(componentStatus): void

Parameters

Name Type
componentStatus ComponentStatus

Returns

void

Inherited from

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

IComponent.hookStatus

Defined in

src/types/types.d.ts#73


bindDestruct

bindDestruct(component): this

Parameters

Name Type
component IComponent<IViewBased<IViewOptions>>

Returns

this

Inherited from

IComponent.bindDestruct

Defined in

src/types/types.d.ts#78


isLockedNotBy

isLockedNotBy(name): boolean

Parameters

Name Type
name string

Returns

boolean

Defined in

src/types/view.d.ts#119


lock

lock(name?): boolean

Parameters

Name Type
name? string

Returns

boolean

Defined in

src/types/view.d.ts#120


unlock

unlock(): boolean

Returns

boolean

Defined in

src/types/view.d.ts#121


toggleFullSize

toggleFullSize(isFullSize?): void

Parameters

Name Type
isFullSize? boolean

Returns

void

Defined in

src/types/view.d.ts#124


i18n

i18n(text, ...params): string

Parameters

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

Returns

string

Defined in

src/types/view.d.ts#142


getVersion

getVersion(): string

Returns

string

Defined in

src/types/view.d.ts#146


getInstance

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

Type parameters

Name Type
T extends IComponent<IViewBased<IViewOptions>>

Parameters

Name Type
module Function
options? object

Returns

T

Defined in

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

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

Type parameters

Name Type
T extends IComponent<IViewBased<IViewOptions>>

Parameters

Name Type
moduleName string
options? object

Returns

T

Defined in

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