Component Palette Icon:





The Label component displays text and can be customized with a full menu of style options for the appearance of text, background, border, color, etc. You can use bindings to display additional information on the Label component. 






NameDescriptionProperty Type
textText to display.value: string
alignVerticalVertical alignment of the text withing the component (top, center, or bottom), based on the dimensions of the component. Default is top.value: string dropdown
styleSets a style for this component. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.object




The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.



PropertyValueStyle Category
props.text

(Expression Binding)

"The time is : "+dateformat(now(),"h:mm a")


N/A
props.style.borderStylegrooveborder
props.style.padding12pxmargin and padding