types.ui.layout.IButton - ZeMA-gGmbH/NoPE-JS GitHub Wiki
A Classical Button
| Name | Type |
|---|---|
D |
extends IMinProvidedDataSet
|
-
IBaseElement<D>↳
IButton
Optional count: number
Badge to be rendered as counter (number)
Optional disabled: boolean
Flag to disable the Element
hidden
Optional hidden: boolean
Flag to hide the element.
Optional icon: string
An Icon, which will be rendered next to the Label of the button
id: string
Id of the Element
Optional img: string
An Image, which will be rendered next to the Label
Optional onClick: ICallback<D>
Callback which will be called, on clicking the element
Optional onRefresh: ICallback<D>
Callback which will be called, on refresing (rerendering) the element
Optional style: string
Style sheet
Optional text: string | (item: any) => string
Text to render
Optional tooltip: string
A Tooltip, which will be renderd on hovering.
type: "button"
The Type. This will be overwritten by the elements.