Label
(part of package 'Bootstrap Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent
Label is a label component that can show dynamic text and (optionally) an image.
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: String
toolTipText
Type: String
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(event,dataTarget)
Click event. dataTarget parameter is used to identify inner html elements (by their data-target attribute)
Parameters:
onDoubleClickMethodID(event,dataTarget)
DoubleClick event. dataTarget parameter is used to identify inner html elements (by their data-target attribute)
Parameters:
onRightClickMethodID(event,dataTarget)
RightClick event. dataTarget parameter is used to identify inner html elements (by their data-target attribute)
Parameters:
API
Last updated
Was this helpful?