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

Interface: ICustomHTML<D>

ui.layout.ICustomHTML

A customizable HTML element in the Menu

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


html

html: string | (value: any) => string

A text (containing the HTML Code), or a function, which will return the HTML code.


id

id: string

Id of the Element

Inherited from

IBaseElement.id


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: "html"

The Type. This will be overwritten by the elements.

Overrides

IBaseElement.type

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