types.ui.layout.IRadioButton - ZeMA-gGmbH/NoPE-JS GitHub Wiki
A Classical Radiobutton
| Name | Type |
|---|---|
D |
extends IMinProvidedDataSet
|
-
IBaseElement<D>↳
IRadioButton
Optional checked: boolean
Flag, whether this element will be checked or not
Optional count: number
Badge to be rendered as counter (number)
Optional disabled: boolean
Flag to disable the Element
Optional group: string | number
Group of the Radio-Buttons. A Group contains multiple Element. But in a group, only one element can be selected at the same time
hidden
Optional hidden: boolean
Flag to hide the element.
Optional icon: string
An Icon, which will be rendered next to the Label
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: "radio"
The Type. This will be overwritten by the elements.