Text
UI Element - Text
Last updated
# Appending text to a card
text = card.create_ui_element(UI.Text,
content="Hello, World!",
size="sm",
weight="bold",
color="#FFFFFF",
align="left"
)
# Appending text to a card, leaving the default settings
text = card.create_ui_element(UI.Text)
# Setting attributes
text.content = "Hello, World"