Label

(part of package 'Bootstrap Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent

This is a reference page; many components have detailed usage guides here.

Properties

enabled

Type: enabled Default Value: true


imageStyleClass

An icon style class property (glyphicon, material design or Font Awesome). Example 'fas fa-search' If you want to use Font Awesome classes you need to enable the Font Awesome service from the Servoy Package Manager.

Type: string


labelFor

Name of an input field - 'for' html attribute will be filled in.

Type: labelfor


showAs

Option whether label text is shown as plain text, sanitized html or trusted html (as is). Inner html elements events can be identified using data-target attribute.

Type: string Default Value: "html"


styleClass

Set the styleclasses that should be applied at to this component

Type: styleclass Default Value: "default-align"


styleClassExpression

A column or calculation that provides the CSS style class for this component

Type: dataprovider


tabSeq

Type: tabseq


text

Type: tagstring


toolTipText

Type: tagstring


trailingImageStyleClass

An icon style class property (glyphicon, material design or Font Awesome). Example 'fas fa-search' If you want to use Font Awesome classes you need to enable the Font Awesome service from the Servoy Package Manager.

Type: string


variant

Sets the variant of this button, this sets a certain set of styleclasses at runtime for which this variant is configured for

Type: variant


visible

Whether the button is visible or not

Type: visible


Events

onActionMethodID

Click event. dataTarget parameter is used to identify inner html elements (by their data-target attribute)

Parameters:

event JSEvent dataTarget string


onDoubleClickMethodID

DoubleClick event. dataTarget parameter is used to identify inner html elements (by their data-target attribute)

Parameters:

event JSEvent dataTarget string


onRightClickMethodID

RightClick event. dataTarget parameter is used to identify inner html elements (by their data-target attribute)

Parameters:

event JSEvent dataTarget string


API

Last updated