EIcon Icon
Examples
Size and color
Properties
colorcolorCustom color; a transparent value usually selects theme or semantic colors.
Dynamic bindingenabledboolAllow interaction; false disables the control.
truefontfontFont settings for the family, size and text style.
Common fields:
family, pixelSize, pointSize
bold, italic, weight
underline, strikeout
letterSpacing, wordSpacing
application fontheightrealComponent size in pixels; may be bound to its parent layout.
Dynamic bindingiconSizeintSize of the icon, option or interactive part in pixels.
20iconSourceintIcon used by the component.
EIcons.*
0 (no icon)
0lineClampintMaximum displayed lines; 0 means unlimited.
0: unlimited
Positive integer: maximum line count
0sizeintText size.
EStyle.SmallEStyle.MediumEStyle.Large
EStyle.MediumtextstringDisplayed text.
Show default value
graphic.source.toString().length > 0 ? " " : iconSize > 0 ? String.fromCharCode(iconSource) : ""truncatedboolElide text when it exceeds the available width.
falsetypestringSemantic text color; an empty value uses the default color.
"" / "primary""success" / "info""warning" / "danger"
""visibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
Dynamic binding