Text
15 posts tagged with "Text"
.aside
The .aside action a stand alone block of text with additional explanation. It belongs to the text category within the ui area.
Action Syntax
.aside "text"
.aside $variable
.aside blk
Valid sizes
Examples
// Basic Usage
.aside "text"
// Using Variables
// Display dynamic content from variables
.aside $text
.fineprint
The .fineprint action displays teeny-tiny text!. It belongs to the text category within the ui area.
Action Syntax
.fineprint "text"
.fineprint $variable
Valid sizes
Examples
// Basic Usage
.fineprint "hello world"
// Using Variables
// Display dynamic content from variables
.fineprint $eventname
.handwriting
The .handwriting action simulates hand or script written text (cursive). It belongs to the text category within the ui area.
Action Syntax
.handwriting "text"
.handwriting $variable
Valid sizes
Examples
// Basic Usage
.handwriting "text"
// Using Variables
// Display dynamic content from variables
.handwriting $text
.signature
The .signature action text that mimics a handwritten signature. It belongs to the text category within the ui area.
Action Syntax
.signature "text"
.signature $variable
Valid sizes
Examples
// Basic Usage
.signature "name"
// Using Variables
// Display dynamic content from variables
.signature $name
.tagline
The .tagline action a huge large tagline. Keep it under 10 words. Shorter is better. It belongs to the text category within the ui area.
Action Syntax
.tagline "text"
.tagline $variable
Valid sizes
Examples
// Basic Usage
.tagline "this is a title"
// Using Variables
// Display dynamic content from variables
.tagline $title
.text
The .text action displays text in the UI. It belongs to the text category within the ui area.
Action Syntax
.text "text"
.text $variable
Valid sizes
Styles
.tight
minimal line spacing
.text.tight "example text"
Modifiers
goto
The .text action supports the goto modifier.
Examples
// Basic Usage
.text "hello world"
// Using Variables
// Display dynamic content from variables
.text $eventname
// With Styles
// Apply the .tight style modifier
.text.tight "example text"
Additional Notes
.text action is the most fundamental way to display content in Rhappsody apps. It’s lightweight and performant, making it ideal for:
.title
The .title action a text title. It belongs to the text category within the ui area.
Action Syntax
.title "text"
.title $variable
Valid sizes
Examples
// Basic Usage
.title "this is a title"
// Using Variables
// Display dynamic content from variables
.title $title
add-line
The add-line action Add a line of text to existing text with newline. It belongs to the text category within the ui area.
Action Syntax
add-line "text" to "text"
add-line $variable to "text"
add-line $variable to $variable
add-line "text" to $variable
Return Value
This function returns a
add-text
The add-text action Concatenates two text values together. It belongs to the text category within the ui area.
Action Syntax
add-text "text" to "text"
add-text $variable to "text"
add-text $variable to $variable
add-text "text" to $variable
Return Value
This function returns a
capitalize
The capitalize action Capitalizes the first letter of each word in text. It belongs to the text category within the ui area.
Action Syntax
capitalize "text"
capitalize $variable
Return Value
This function returns a
$result = capitalize
Valid sizes
Examples
// Basic Usage
$text = capitalize "hello world"
character
The character action Gets the character at a specific position in text. It belongs to the text category within the ui area.
Action Syntax
character 123 of $variable
character $variable of $variable
character 123 of "text"
character $variable of "text"
Return Value
This function returns a
length-of
The length-of action Returns the length of a text string or variable. It belongs to the text category within the ui area.
Action Syntax
length-of $variable
length-of "text"
Return Value
This function returns a
$result = length-of
Valid sizes
Examples
// Basic Usage
$number = length-of $var
lowercase
The lowercase action Converts text to all lowercase letters. It belongs to the text category within the ui area.
Action Syntax
lowercase "text"
lowercase $variable
Return Value
This function returns a
$result = lowercase
Valid sizes
Examples
// Basic Usage
$text = lowercase "REALLY IMPORTANT"
split-text
The split-text action Splits text into an array of words by whitespace. It belongs to the text category within the ui area.
Action Syntax
split-text "text"
split-text $variable
Return Value
This function returns a
$result = split-text
Valid sizes
Examples
// Basic Usage
$group = split-text "hello world welcome to rhappsody"
uppercase
The uppercase action Converts text to all uppercase letters. It belongs to the text category within the ui area.
Action Syntax
uppercase "text"
uppercase $variable
Return Value
This function returns a
$result = uppercase
Valid sizes
Examples
// Basic Usage
$text = uppercase "really important"