types.ui.layout.IButton - ZeMA-gGmbH/NoPE-JS GitHub Wiki

Interface: IButton<D>

ui.layout.IButton

A Classical Button

Type parameters

Name Type
D extends IMinProvidedDataSet

Hierarchy

Properties

count

Optional count: number

Badge to be rendered as counter (number)

Inherited from

IBaseElement.count


disabled

Optional disabled: boolean

Flag to disable the Element

Inherited from

IBaseElement.disabled


hidden

Optional hidden: boolean

Flag to hide the element.

Inherited from

IBaseElement.hidden


icon

Optional icon: string

An Icon, which will be rendered next to the Label of the button


id

id: string

Id of the Element

Inherited from

IBaseElement.id


img

Optional img: string

An Image, which will be rendered next to the Label


onClick

Optional onClick: ICallback<D>

Callback which will be called, on clicking the element

Inherited from

IBaseElement.onClick


onRefresh

Optional onRefresh: ICallback<D>

Callback which will be called, on refresing (rerendering) the element

Inherited from

IBaseElement.onRefresh


style

Optional style: string

Style sheet

Inherited from

IBaseElement.style


text

Optional text: string | (item: any) => string

Text to render

Inherited from

IBaseElement.text


tooltip

Optional tooltip: string

A Tooltip, which will be renderd on hovering.

Inherited from

IBaseElement.tooltip


type

type: "button"

The Type. This will be overwritten by the elements.

Overrides

IBaseElement.type

⚠️ **GitHub.com Fallback** ⚠️