IToolbarCollection

types.IToolbarCollection

Hierarchy

  • IUIList

    ↳ IToolbarCollection

Implemented by

firstButton

firstButton: Nullable<IToolbarButton>

Defined in

src/types/toolbar.d.ts#345


mods

mods: IDictionary<ModType>

Inherited from

IUIList.mods

Defined in

src/types/traits.d.ts#28


async

Readonly async: IAsync

Inherited from

IUIList.async

Defined in

src/types/types.d.ts#46


ownerDocument

Readonly ownerDocument: Document

Inherited from

IUIList.ownerDocument

Defined in

src/types/types.d.ts#47


od

Readonly od: Document

Inherited from

IUIList.od

Defined in

src/types/types.d.ts#48


ownerWindow

Readonly ownerWindow: Window

Inherited from

IUIList.ownerWindow

Defined in

src/types/types.d.ts#49


ow

Readonly ow: Window

Inherited from

IUIList.ow

Defined in

src/types/types.d.ts#50


componentName

Readonly componentName: string

Inherited from

IUIList.componentName

Defined in

src/types/types.d.ts#54


uid

Readonly uid: string

Inherited from

IUIList.uid

Defined in

src/types/types.d.ts#65


isDestructed

Readonly isDestructed: boolean

Inherited from

IUIList.isDestructed

Defined in

src/types/types.d.ts#66


isInDestruct

Readonly isInDestruct: boolean

Inherited from

IUIList.isInDestruct

Defined in

src/types/types.d.ts#67


isReady

Readonly isReady: boolean

Inherited from

IUIList.isReady

Defined in

src/types/types.d.ts#68


componentStatus

Readonly componentStatus: ComponentStatus

Inherited from

IUIList.componentStatus

Defined in

src/types/types.d.ts#70


j

Readonly j: IViewBased<IViewOptions>

Inherited from

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

IUIList.i18n

Defined in

src/types/types.d.ts#85


defaultTimeout

Readonly defaultTimeout: number

Inherited from

IUIList.defaultTimeout

Defined in

src/types/types.d.ts#86


parentElement

parentElement: Nullable<IUIElement>

Inherited from

IUIList.parentElement

Defined in

src/types/ui.d.ts#30


container

container: HTMLElement

Inherited from

IUIList.container

Defined in

src/types/ui.d.ts#31


name

name: string

Inherited from

IUIList.name

Defined in

src/types/ui.d.ts#32


elements

Readonly elements: IUIElement[]

Inherited from

IUIList.elements

Defined in

src/types/ui.d.ts#100


allChildren

Readonly allChildren: IUIElement[]

Inherited from

IUIList.allChildren

Defined in

src/types/ui.d.ts#101


jodit

jodit: IViewBased<IViewOptions>

Inherited from

IUIList.jodit

Defined in

src/types/ui.d.ts#108


mode

mode: "vertical" | "horizontal"

Inherited from

IUIList.mode

Defined in

src/types/ui.d.ts#110


buttonSize

buttonSize: "small" | "tiny" | "xsmall" | "middle" | "large"

Inherited from

IUIList.buttonSize

Defined in

src/types/ui.d.ts#111


buttons

buttons: IUIButton[]

Inherited from

IUIList.buttons

Defined in

src/types/ui.d.ts#113

setDirection

setDirection(direction): void

Parameters

Name Type
direction "rtl" | "ltr"

Returns

void

Defined in

src/types/toolbar.d.ts#343


shouldBeDisabled

shouldBeDisabled(button): boolean | void

Parameters

Name Type
button IToolbarButton

Returns

boolean | void

Defined in

src/types/toolbar.d.ts#347


shouldBeActive

shouldBeActive(button): boolean | void

Parameters

Name Type
button IToolbarButton

Returns

boolean | void

Defined in

src/types/toolbar.d.ts#348


getTarget

getTarget(button): null | Node

Parameters

Name Type
button IToolbarButton

Returns

null | Node

Defined in

src/types/toolbar.d.ts#349


show

show(): void

Returns

void

Defined in

src/types/toolbar.d.ts#351


hide

hide(): void

Returns

void

Defined in

src/types/toolbar.d.ts#352


showInline

showInline(bound?): void

Parameters

Name Type
bound? IBound

Returns

void

Defined in

src/types/toolbar.d.ts#353


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

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

IUIList.afterSetMod

Defined in

src/types/traits.d.ts#25


getMod

getMod(name): ModType

Parameters

Name Type
name string

Returns

ModType

Inherited from

IUIList.getMod

Defined in

src/types/traits.d.ts#27


getElm

getElm(elementName): Nullable<HTMLElement>

Parameters

Name Type
elementName string

Returns

Nullable<HTMLElement>

Inherited from

IUIList.getElm

Defined in

src/types/traits.d.ts#32


getElms

getElms(elementName): HTMLElement[]

Parameters

Name Type
elementName string

Returns

HTMLElement[]

Inherited from

IUIList.getElms

Defined in

src/types/traits.d.ts#33


destruct

destruct(jodit?): any

Parameters

Name Type
jodit? IViewBased<IViewOptions>

Returns

any

Inherited from

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

IUIList.get

Defined in

src/types/types.d.ts#52


className

className(): string

Returns

string

Inherited from

IUIList.className

Defined in

src/types/types.d.ts#55


getFullElName

getFullElName(elementName): string

Parameters

Name Type
elementName string

Returns

string

Inherited from

IUIList.getFullElName

Defined in

src/types/types.d.ts#57

getFullElName(elementName, mod): string

Parameters

Name Type
elementName string
mod string

Returns

string

Inherited from

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

IUIList.getFullElName

Defined in

src/types/types.d.ts#59


setStatus

setStatus(componentStatus): void

Parameters

Name Type
componentStatus ComponentStatus

Returns

void

Inherited from

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

IUIList.hookStatus

Defined in

src/types/types.d.ts#73


bindDestruct

bindDestruct(component): this

Parameters

Name Type
component IComponent<IViewBased<IViewOptions>>

Returns

this

Inherited from

IUIList.bindDestruct

Defined in

src/types/types.d.ts#78


setParentView

setParentView(jodit): this

Parameters

Name Type
jodit IViewBased<IViewOptions>

Returns

this

Inherited from

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

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

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

IUIList.closest

Defined in

src/types/ui.d.ts#40


update

update(): void

Returns

void

Inherited from

IUIList.update

Defined in

src/types/ui.d.ts#42


updateParentElement

updateParentElement(target): this

Parameters

Name Type
target IUIElement

Returns

this

Inherited from

IUIList.updateParentElement

Defined in

src/types/ui.d.ts#43


appendTo

appendTo(element): this

Parameters

Name Type
element HTMLElement

Returns

this

Inherited from

IUIList.appendTo

Defined in

src/types/ui.d.ts#44


append

append(elm, distElement?): this

Parameters

Name Type
elm IUIElement | IUIElement[]
distElement? string

Returns

this

Inherited from

IUIList.append

Defined in

src/types/ui.d.ts#102


remove

remove(elm): this

Parameters

Name Type
elm IUIElement

Returns

this

Inherited from

IUIList.remove

Defined in

src/types/ui.d.ts#103


clear

clear(): this

Returns

this

Inherited from

IUIList.clear

Defined in

src/types/ui.d.ts#104


getButtonsNames

getButtonsNames(): string[]

Returns

string[]

Inherited from

IUIList.getButtonsNames

Defined in

src/types/ui.d.ts#114


setRemoveButtons

setRemoveButtons(removeButtons?): this

Parameters

Name Type
removeButtons? string[]

Returns

this

Inherited from

IUIList.setRemoveButtons

Defined in

src/types/ui.d.ts#116


build

build(items, target?): IUIList

Parameters

Name Type
items ButtonsOption
target? Nullable<HTMLElement>

Returns

IUIList

Inherited from

IUIList.build

Defined in

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