Text
The <ch5-text> component is used to display advanced text within a CH5 project. This component supports HTML text via an indirect text serial join as well as static text that is defined during project design. This component also supports multiline and truncated text, and supports all CIP tags within an CIP HTML tag document.
For interactive examples using the <ch5-text> component and CSS classes, refer to the Showcase Application.
Features
The <ch5-text> attributes provide the following features:
- Sets the horizontal and vertical alignment of text within the CH5 project.
- Provides support for multiline input text. Multiline text will be truncated when the text area does not allow for a second line.
- Provides support for text truncation. Text will be truncated depending on the length of the text input and the size of the control. Ellipses are shown when the text extends beyond the vertical space allocated.
- Allows text to be displayed on a label.
- Uses a serial join to receive feedback from the control system for assigning text to a label.
- Allows for the implementation of CIP tags for label text as a child component.
- Sets the position and size of text with the CH5 project.