rich_text

class virtualitics_sdk.elements.rich_text.RichText(content, border=False)

Bases: Element

A Rich Text Element.

Parameters:
  • content (str) – The value inside the rich text element

  • border (bool) – whether to surround the text with a border, defaults to False.

set_content(content)

Validate and set content (python best practice is to set instance attributes in constructor).

Parameters:

kwargs – new content for the Element.

set_params(params)

Validate and set params (python best practice is to set instance attributes in constructor).

Parameters:

kwargs – new params for the Element.