IUIButton
- Hierarchy
- Implemented by
- mods
- async
- ownerDocument
- od
- ownerWindow
- ow
- componentName
- uid
- isDestructed
- isInDestruct
- isReady
- componentStatus
- jodit
- j
- i18n
- defaultTimeout
- parentElement
- container
- name
- state
- text
- icon
- isButton
- isFocused
- focus
- setMod
- afterSetMod
- getMod
- getElm
- getElms
- destruct
- get
- className
- getFullElName
- setStatus
- hookStatus
- bindDestruct
- setParentView
- bubble
- closest
- update
- updateParentElement
- appendTo
- setState
- onAction
types.IUIButton
Hierarchy
-
↳
IUIButton
↳↳
IToolbarButton
Implemented by
mods
mods: IDictionary
<ModType
>
Inherited from
Defined in
async
Readonly
async: IAsync
Inherited from
Defined in
ownerDocument
Readonly
ownerDocument: Document
Inherited from
Defined in
od
Readonly
od: Document
Inherited from
Defined in
ownerWindow
Readonly
ownerWindow: Window
Inherited from
Defined in
ow
Readonly
ow: Window
Inherited from
Defined in
componentName
Readonly
componentName: string
Inherited from
Defined in
uid
Readonly
uid: string
Inherited from
Defined in
isDestructed
Readonly
isDestructed: boolean
Inherited from
Defined in
isInDestruct
Readonly
isInDestruct: boolean
Inherited from
Defined in
isReady
Readonly
isReady: boolean
Inherited from
Defined in
componentStatus
Readonly
componentStatus: ComponentStatus
Inherited from
Defined in
jodit
jodit: IViewBased
<IViewOptions
>
Inherited from
Defined in
j
Readonly
j: IViewBased
<IViewOptions
>
Inherited from
Defined in
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
Defined in
defaultTimeout
Readonly
defaultTimeout: number
Inherited from
Defined in
parentElement
parentElement: Nullable
<IUIElement
>
Inherited from
Defined in
container
container: HTMLElement
Inherited from
Defined in
name
name: string
Inherited from
Defined in
state
Readonly
state: IUIButtonState
Defined in
text
Readonly
text: HTMLElement
Defined in
icon
Readonly
icon: HTMLElement
Defined in
isButton
Readonly
isButton: true
Defined in
isFocused
isFocused(): boolean
Returns
boolean
Inherited from
Defined in
focus
focus(): void
Returns
void
Inherited from
Defined in
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
Defined in
afterSetMod
afterSetMod(name
, value
): void
Parameters
Name | Type |
---|---|
name |
string |
value |
ModType |
Returns
void
Inherited from
Defined in
getMod
getMod(name
): ModType
Parameters
Name | Type |
---|---|
name |
string |
Returns
Inherited from
Defined in
getElm
getElm(elementName
): Nullable
<HTMLElement
>
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
Inherited from
Defined in
getElms
getElms(elementName
): HTMLElement
[]
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
Inherited from
Defined in
destruct
destruct(jodit?
): any
Parameters
Name | Type |
---|---|
jodit? |
IViewBased <IViewOptions > |
Returns
any
Inherited from
Defined in
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
Defined in
className
className(): string
Returns
string
Inherited from
Defined in
getFullElName
getFullElName(elementName
): string
Parameters
Name | Type |
---|---|
elementName |
string |
Returns
string
Inherited from
Defined in
getFullElName(elementName
, mod
): string
Parameters
Name | Type |
---|---|
elementName |
string |
mod |
string |
Returns
string
Inherited from
Defined in
getFullElName(elementName
, mod?
, modValue?
): string
Parameters
Name | Type |
---|---|
elementName |
string |
mod? |
string |
modValue? |
string | boolean |
Returns
string
Inherited from
Defined in
setStatus
setStatus(componentStatus
): void
Parameters
Name | Type |
---|---|
componentStatus |
ComponentStatus |
Returns
void
Inherited from
Defined in
hookStatus
hookStatus(status
, callback
): void
Parameters
Name | Type |
---|---|
status |
ComponentStatus |
callback |
(component : this ) => void |
Returns
void
Inherited from
Defined in
bindDestruct
bindDestruct(component
): this
Parameters
Name | Type |
---|---|
component |
IComponent <IViewBased <IViewOptions >> |
Returns
this
Inherited from
Defined in
setParentView
setParentView(jodit
): this
Parameters
Name | Type |
---|---|
jodit |
IViewBased <IViewOptions > |
Returns
this
Inherited from
Defined in
bubble
bubble(callback
): this
Apply callback for all parents
Parameters
Name | Type |
---|---|
callback |
(parent : IUIElement ) => void |
Returns
this
Inherited from
Defined in
closest
closest<T
>(type
): Nullable
<T
>
Type parameters
Name | Type |
---|---|
T |
extends IUIElement |
Parameters
Name | Type |
---|---|
type |
Function |
Returns
Nullable
<T
>
Inherited from
Defined in
closest<T
>(type
): Nullable
<T
>
Type parameters
Name | Type |
---|---|
T |
extends IUIElement |
Parameters
Name | Type |
---|---|
type |
Function | T |
Returns
Nullable
<T
>
Inherited from
Defined in
update
update(): void
Returns
void
Inherited from
Defined in
updateParentElement
updateParentElement(target
): this
Parameters
Name | Type |
---|---|
target |
IUIElement |
Returns
this
Inherited from
IUIElement.updateParentElement
Defined in
appendTo
appendTo(element
): this
Parameters
Name | Type |
---|---|
element |
HTMLElement |
Returns
this
Inherited from
Defined in
setState
setState(state
): this
Parameters
Name | Type |
---|---|
state |
IUIButtonStatePartial |
Returns
this
Defined in
onAction
onAction(callback
): this
Parameters
Name | Type |
---|---|
callback |
(event : MouseEvent ) => void |
Returns
this
Defined in
jodit/src/types/ui.d.ts:96