IToolbarButton

types.IToolbarButton

Hierarchy

Implemented by

control

control: IControlTypeStrong

Defined in

src/types/toolbar.d.ts#338


target

target: Nullable<HTMLElement>

Defined in

src/types/toolbar.d.ts#339


mods

mods: IDictionary<ModType>

Inherited from

IUIButton.mods

Defined in

src/types/traits.d.ts#28


async

Readonly async: IAsync

Inherited from

IUIButton.async

Defined in

src/types/types.d.ts#46


ownerDocument

Readonly ownerDocument: Document

Inherited from

IUIButton.ownerDocument

Defined in

src/types/types.d.ts#47


od

Readonly od: Document

Inherited from

IUIButton.od

Defined in

src/types/types.d.ts#48


ownerWindow

Readonly ownerWindow: Window

Inherited from

IUIButton.ownerWindow

Defined in

src/types/types.d.ts#49


ow

Readonly ow: Window

Inherited from

IUIButton.ow

Defined in

src/types/types.d.ts#50


componentName

Readonly componentName: string

Inherited from

IUIButton.componentName

Defined in

src/types/types.d.ts#54


uid

Readonly uid: string

Inherited from

IUIButton.uid

Defined in

src/types/types.d.ts#65


isDestructed

Readonly isDestructed: boolean

Inherited from

IUIButton.isDestructed

Defined in

src/types/types.d.ts#66


isInDestruct

Readonly isInDestruct: boolean

Inherited from

IUIButton.isInDestruct

Defined in

src/types/types.d.ts#67


isReady

Readonly isReady: boolean

Inherited from

IUIButton.isReady

Defined in

src/types/types.d.ts#68


componentStatus

Readonly componentStatus: ComponentStatus

Inherited from

IUIButton.componentStatus

Defined in

src/types/types.d.ts#70


jodit

jodit: IViewBased<IViewOptions>

Inherited from

IUIButton.jodit

Defined in

src/types/types.d.ts#82


j

Readonly j: IViewBased<IViewOptions>

Inherited from

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

IUIButton.i18n

Defined in

src/types/types.d.ts#85


defaultTimeout

Readonly defaultTimeout: number

Inherited from

IUIButton.defaultTimeout

Defined in

src/types/types.d.ts#86


parentElement

parentElement: Nullable<IUIElement>

Inherited from

IUIButton.parentElement

Defined in

src/types/ui.d.ts#30


container

container: HTMLElement

Inherited from

IUIButton.container

Defined in

src/types/ui.d.ts#31


name

name: string

Inherited from

IUIButton.name

Defined in

src/types/ui.d.ts#32


state

Readonly state: IUIButtonState

Inherited from

IUIButton.state

Defined in

src/types/ui.d.ts#87


text

Readonly text: HTMLElement

Inherited from

IUIButton.text

Defined in

src/types/ui.d.ts#91


icon

Readonly icon: HTMLElement

Inherited from

IUIButton.icon

Defined in

src/types/ui.d.ts#92


isButton

Readonly isButton: true

Inherited from

IUIButton.isButton

Defined in

src/types/ui.d.ts#94

isFocused

isFocused(): boolean

Returns

boolean

Inherited from

IUIButton.isFocused

Defined in

src/types/form.d.ts#12


focus

focus(): void

Returns

void

Inherited from

IUIButton.focus

Defined in

src/types/form.d.ts#13


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

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

IUIButton.afterSetMod

Defined in

src/types/traits.d.ts#25


getMod

getMod(name): ModType

Parameters

Name Type
name string

Returns

ModType

Inherited from

IUIButton.getMod

Defined in

src/types/traits.d.ts#27


getElm

getElm(elementName): Nullable<HTMLElement>

Parameters

Name Type
elementName string

Returns

Nullable<HTMLElement>

Inherited from

IUIButton.getElm

Defined in

src/types/traits.d.ts#32


getElms

getElms(elementName): HTMLElement[]

Parameters

Name Type
elementName string

Returns

HTMLElement[]

Inherited from

IUIButton.getElms

Defined in

src/types/traits.d.ts#33


destruct

destruct(jodit?): any

Parameters

Name Type
jodit? IViewBased<IViewOptions>

Returns

any

Inherited from

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

IUIButton.get

Defined in

src/types/types.d.ts#52


className

className(): string

Returns

string

Inherited from

IUIButton.className

Defined in

src/types/types.d.ts#55


getFullElName

getFullElName(elementName): string

Parameters

Name Type
elementName string

Returns

string

Inherited from

IUIButton.getFullElName

Defined in

src/types/types.d.ts#57

getFullElName(elementName, mod): string

Parameters

Name Type
elementName string
mod string

Returns

string

Inherited from

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

IUIButton.getFullElName

Defined in

src/types/types.d.ts#59


setStatus

setStatus(componentStatus): void

Parameters

Name Type
componentStatus ComponentStatus

Returns

void

Inherited from

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

IUIButton.hookStatus

Defined in

src/types/types.d.ts#73


bindDestruct

bindDestruct(component): this

Parameters

Name Type
component IComponent<IViewBased<IViewOptions>>

Returns

this

Inherited from

IUIButton.bindDestruct

Defined in

src/types/types.d.ts#78


setParentView

setParentView(jodit): this

Parameters

Name Type
jodit IViewBased<IViewOptions>

Returns

this

Inherited from

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

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

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

IUIButton.closest

Defined in

src/types/ui.d.ts#40


update

update(): void

Returns

void

Inherited from

IUIButton.update

Defined in

src/types/ui.d.ts#42


updateParentElement

updateParentElement(target): this

Parameters

Name Type
target IUIElement

Returns

this

Inherited from

IUIButton.updateParentElement

Defined in

src/types/ui.d.ts#43


appendTo

appendTo(element): this

Parameters

Name Type
element HTMLElement

Returns

this

Inherited from

IUIButton.appendTo

Defined in

src/types/ui.d.ts#44


setState

setState(state): this

Parameters

Name Type
state IUIButtonStatePartial

Returns

this

Inherited from

IUIButton.setState

Defined in

src/types/ui.d.ts#89


onAction

onAction(callback): this

Parameters

Name Type
callback (event: MouseEvent) => void

Returns

this

Inherited from

IUIButton.onAction

Defined in

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