Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LabelDef

This creates label control.

Hierarchy

Indexable

[key: string]: any

This creates label control.

Index

Properties

Optional afterInit

Optional attr

attr: IDictionary<string>

Object defining html attributes for controls root element.

Optional click

Callback that will be called when control is clicked.

Optional css

css: JQueryCssProperties

Object defining css styles for controls root element.

Optional enabled

enabled: undefined | false | true

If true control will be enabled if false control will be disabled (inactive).

Optional fixedWidth

fixedWidth: undefined | number

Optional helpPlacement

helpPlacement: "top" | "right" | "bottom" | "left"

Tooltip placement direction when tooltip is shown ('top', 'right', 'bottom' or 'left'). (default: right)

Optional helpText

helpText: undefined | string

Adds tooltip icon, that will show this tooltip text.

Optional html

html: undefined | string

Labels display text as HTML. Optional only when value or text field is set.

Optional id

id: undefined | string

Reference id of the control, it will be used to reference this control in the code throuth FieldsIndex objects.

Optional ignore

ignore: undefined | false | true

If true this control definition will be ignored and control will not be initiated.

Optional init

Callback that will be called when control is initialised.

Optional on

Optional styleClass

styleClass: undefined | string

Style class to add on root element of the control.

Optional text

text: undefined | string

Labels display text. This is an alias of value field. Optional only when value or html field is set.

type

type: "Label" | object

Optional value

value: undefined | string

Labels display text. Optional only when text or html field is set.

Optional visible

visible: undefined | false | true

Set initial visibility of control. (default: true)