Button UI Element

Component for creating buttons.

Classes

UIButtonState

UIButtonState(): IUIButtonState

Returns

IUIButtonState

Defined in

src/core/ui/button/button/button.ts#30


Button

Button(jodit, icon): IUIButton

Parameters

Name Type
jodit IViewBased<IViewOptions>
icon string

Returns

IUIButton

Defined in

jodit/src/core/ui/button/button/button.ts:277

Button(jodit, icon, text?): IUIButton

Parameters

Name Type
jodit IViewBased<IViewOptions>
icon string
text? string

Returns

IUIButton

Defined in

jodit/src/core/ui/button/button/button.ts:278

Button(jodit, icon, text, variant?): IUIButton

Parameters

Name Type
jodit IViewBased<IViewOptions>
icon string
text string
variant? ButtonVariant

Returns

IUIButton

Defined in

jodit/src/core/ui/button/button/button.ts:283

Button(jodit, state, variant?): IUIButton

Parameters

Name Type
jodit IViewBased<IViewOptions>
state IUIButtonStatePartial
variant? ButtonVariant

Returns

IUIButton

Defined in

jodit/src/core/ui/button/button/button.ts:289