Interface ICheckbox<D>

A Classical Checkbox

Type Parameters

Hierarchy

Properties

checked?: boolean

An Flag, which will set the Element to Checked or not

count?: number

Badge to be rendered as counter (number)

disabled?: boolean

Flag to disable the Element

hidden?: boolean

Flag to hide the element.

icon?: string

An Icon, which will be rendered next to the Label

id: string

Id of the Element

img?: string

An Image, which will be rendered next to the Label

onClick?: ICallback<D>

Callback which will be called, on clicking the element

onRefresh?: ICallback<D>

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

style?: string

Style sheet

text?: string | ((item) => string)

Text to render

tooltip?: string

A Tooltip, which will be renderd on hovering.

type: "check"

The Type. This will be overwritten by the elements.

Generated using TypeDoc