types.ui.layout.ICustomHTML - ZeMA-gGmbH/NoPE-JS GitHub Wiki
A customizable HTML element in the Menu
| Name | Type |
|---|---|
D |
extends IMinProvidedDataSet
|
-
IBaseElement<D>↳
ICustomHTML
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.
html: string | (value: any) => string
A text (containing the HTML Code), or a function, which will return the HTML code.
id: string
Id of the Element
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: "html"
The Type. This will be overwritten by the elements.