IViewWithToolbar

types.IViewWithToolbar

Type parameters

Name Type
T IViewOptions

Hierarchy

Implemented by

mods

mods: IDictionary<ModType>

Inherited from

IViewBased.mods

Defined in

src/types/traits.d.ts#28


container

container: HTMLElement

Inherited from

IViewBased.container

Defined in

src/types/types.d.ts#42


async

Readonly async: IAsync

Inherited from

IViewBased.async

Defined in

src/types/types.d.ts#46


ownerDocument

Readonly ownerDocument: Document

Inherited from

IViewBased.ownerDocument

Defined in

src/types/types.d.ts#47


od

Readonly od: Document

Inherited from

IViewBased.od

Defined in

src/types/types.d.ts#48


ownerWindow

Readonly ownerWindow: Window

Inherited from

IViewBased.ownerWindow

Defined in

src/types/types.d.ts#49


ow

Readonly ow: Window

Inherited from

IViewBased.ow

Defined in

src/types/types.d.ts#50


componentName

Readonly componentName: string

Inherited from

IViewBased.componentName

Defined in

src/types/types.d.ts#54


uid

Readonly uid: string

Inherited from

IViewBased.uid

Defined in

src/types/types.d.ts#65


isDestructed

Readonly isDestructed: boolean

Inherited from

IViewBased.isDestructed

Defined in

src/types/types.d.ts#66


isInDestruct

Readonly isInDestruct: boolean

Inherited from

IViewBased.isInDestruct

Defined in

src/types/types.d.ts#67


isReady

Readonly isReady: boolean

Inherited from

IViewBased.isReady

Defined in

src/types/types.d.ts#68


componentStatus

Readonly componentStatus: ComponentStatus

Inherited from

IViewBased.componentStatus

Defined in

src/types/types.d.ts#70


isView

Readonly isView: true

Inherited from

IViewBased.isView

Defined in

src/types/view.d.ts#108


parent

Readonly parent: Nullable<IViewBased<IViewOptions>>

Inherited from

IViewBased.parent

Defined in

src/types/view.d.ts#109


id

Readonly id: string

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

Inherited from

IViewBased.id

Defined in

src/types/view.d.ts#114


basePath

Readonly basePath: string

Inherited from

IViewBased.basePath

Defined in

src/types/view.d.ts#116


isLocked

Readonly isLocked: boolean

Inherited from

IViewBased.isLocked

Defined in

src/types/view.d.ts#118


isFullSize

Readonly isFullSize: boolean

Inherited from

IViewBased.isFullSize

Defined in

src/types/view.d.ts#123


buffer

Readonly buffer: IStorage<StorageValueType>

Inherited from

IViewBased.buffer

Defined in

src/types/view.d.ts#126


storage

Readonly storage: IStorage<StorageValueType>

Inherited from

IViewBased.storage

Defined in

src/types/view.d.ts#127


progressbar

Readonly progressbar: IProgressBar

Inherited from

IViewBased.progressbar

Defined in

src/types/view.d.ts#129


events

Readonly events: IEventEmitter

Inherited from

IViewBased.events

Defined in

src/types/view.d.ts#131


e

Readonly e: IEventEmitter

Inherited from

IViewBased.e

Defined in

src/types/view.d.ts#132


create

Readonly create: ICreate

Inherited from

IViewBased.create

Defined in

src/types/view.d.ts#134


c

Readonly c: ICreate

Inherited from

IViewBased.c

Defined in

src/types/view.d.ts#135


OPTIONS

Readonly OPTIONS: T

Inherited from

IViewBased.OPTIONS

Defined in

src/types/view.d.ts#137


options

Readonly options: T

Inherited from

IViewBased.options

Defined in

src/types/view.d.ts#138


o

Readonly o: T

Inherited from

IViewBased.o

Defined in

src/types/view.d.ts#140


defaultTimeout

Readonly defaultTimeout: number

Inherited from

IViewBased.defaultTimeout

Defined in

src/types/view.d.ts#144


components

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

Inherited from

IViewBased.components

Defined in

src/types/view.d.ts#148


message

Readonly message: IMessages

Inherited from

IViewBased.message

Defined in

src/types/view.d.ts#152


toolbar

toolbar: IToolbarCollection

Defined in

src/types/view.d.ts#156


toolbarContainer

toolbarContainer: HTMLElement

Defined in

src/types/view.d.ts#157


registeredButtons

registeredButtons: Set<IPluginButton>

Defined in

src/types/view.d.ts#159

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

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

IViewBased.afterSetMod

Defined in

src/types/traits.d.ts#25


getMod

getMod(name): ModType

Parameters

Name Type
name string

Returns

ModType

Inherited from

IViewBased.getMod

Defined in

src/types/traits.d.ts#27


getElm

getElm(elementName): Nullable<HTMLElement>

Parameters

Name Type
elementName string

Returns

Nullable<HTMLElement>

Inherited from

IViewBased.getElm

Defined in

src/types/traits.d.ts#32


getElms

getElms(elementName): HTMLElement[]

Parameters

Name Type
elementName string

Returns

HTMLElement[]

Inherited from

IViewBased.getElms

Defined in

src/types/traits.d.ts#33


destruct

destruct(jodit?): any

Parameters

Name Type
jodit? IViewBased<IViewOptions>

Returns

any

Inherited from

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

IViewBased.get

Defined in

src/types/types.d.ts#52


className

className(): string

Returns

string

Inherited from

IViewBased.className

Defined in

src/types/types.d.ts#55


getFullElName

getFullElName(elementName): string

Parameters

Name Type
elementName string

Returns

string

Inherited from

IViewBased.getFullElName

Defined in

src/types/types.d.ts#57

getFullElName(elementName, mod): string

Parameters

Name Type
elementName string
mod string

Returns

string

Inherited from

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

IViewBased.getFullElName

Defined in

src/types/types.d.ts#59


setStatus

setStatus(componentStatus): void

Parameters

Name Type
componentStatus ComponentStatus

Returns

void

Inherited from

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

IViewBased.hookStatus

Defined in

src/types/types.d.ts#73


bindDestruct

bindDestruct(component): this

Parameters

Name Type
component IComponent<IViewBased<IViewOptions>>

Returns

this

Inherited from

IViewBased.bindDestruct

Defined in

src/types/types.d.ts#78


isLockedNotBy

isLockedNotBy(name): boolean

Parameters

Name Type
name string

Returns

boolean

Inherited from

IViewBased.isLockedNotBy

Defined in

src/types/view.d.ts#119


lock

lock(name?): boolean

Parameters

Name Type
name? string

Returns

boolean

Inherited from

IViewBased.lock

Defined in

src/types/view.d.ts#120


unlock

unlock(): boolean

Returns

boolean

Inherited from

IViewBased.unlock

Defined in

src/types/view.d.ts#121


toggleFullSize

toggleFullSize(isFullSize?): void

Parameters

Name Type
isFullSize? boolean

Returns

void

Inherited from

IViewBased.toggleFullSize

Defined in

src/types/view.d.ts#124


i18n

i18n(text, ...params): string

Parameters

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

Returns

string

Inherited from

IViewBased.i18n

Defined in

src/types/view.d.ts#142


getVersion

getVersion(): string

Returns

string

Inherited from

IViewBased.getVersion

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

Inherited from

IViewBased.getInstance

Defined in

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

Inherited from

IViewBased.getInstance

Defined in

src/types/view.d.ts#150


registerButton

registerButton(btn): this

Parameters

Name Type
btn IPluginButton

Returns

this

Defined in

src/types/view.d.ts#160


unregisterButton

unregisterButton(btn): this

Parameters

Name Type
btn IPluginButton

Returns

this

Defined in

src/types/view.d.ts#161


getRegisteredButtonGroups

getRegisteredButtonGroups(): IDictionary<string[]>

Returns

IDictionary<string[]>

Defined in

src/types/view.d.ts#162


setPanel

setPanel(element): void

Parameters

Name Type
element string | HTMLElement

Returns

void

Defined in

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