element¶
- class virtualitics_sdk.elements.element.ElementType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Enum
- CUSTOM_EVENT = 'custom-event'¶
- DASHBOARD = 'dashboard'¶
- DATA_SOURCE = 'datasource'¶
- DATE_TIME_RANGE = 'datetime-range'¶
- DROPDOWN = 'dropdown'¶
- FILTERS = 'filters'¶
- IMAGE = 'image'¶
- INFOGRAPHIC = 'infographic'¶
- INPUT = 'input'¶
- NUMERIC_RANGE = 'numeric-range'¶
- PLOT = 'plot'¶
- RICH_TEXT = 'rich-text'¶
- TABLE = 'table'¶
- TEXT_INPUT = 'text-input'¶
- XAI_DASHBOARD = 'xai-dashboard'¶
- class virtualitics_sdk.elements.element.InputElement(_type, params, content, title='', description='', show_title=True, show_description=True, label='', placeholder='')¶
Bases:
Element
- abstract get_value()¶
Get the value of an element. If the user has interacted with the value, the default will be updated.
- Return type:
Union
[str
,dict
,List
[str
]]