trame.html.widgets

These auto-generated docs only show this module’s objects, which rely on keyword arguments (**kwargs) for configuration. You can find more information in the modules section here.

class trame.html.widgets.FloatCard(children=None, **kwargs)[source]

Bases: trame.html.AbstractElement

A vuetify VCard container which floats above the application and can be moved freely from a handle

Parameters
  • handle_color

  • handle_position

  • handle_size

  • location

Vuetify VCard attributes

Parameters
  • color

  • dark

  • flat

  • height

  • elevation

  • hover

  • img

  • light

  • loader_height

  • loading

  • max_height

  • max_width

  • min_height

  • min_width

  • outlined

  • raised

  • rounded

  • shaped

  • tile

  • width

class trame.html.widgets.ListBrowser(children=None, **kwargs)[source]

Bases: trame.html.AbstractElement

A component that list items that be used for browsing directories or simple item picking

Parameters
  • list – List stored in state

  • filter – Function to filter list

  • path_icon

  • path_selected_icon

  • filter_icon

  • path

class trame.html.widgets.GitTree(children=None, **kwargs)[source]

Bases: trame.html.AbstractElement

A component to present a Tree the same way Git does it (Like a subway map)

Parameters
  • sources – All of the elements of the tree

  • actives – Any active elements of the tree

Vuetify styling attributes

Parameters
  • active_background

  • delta_x

  • delta_y

  • font_size

  • margin

  • multiselect

  • offset

  • palette

  • radius

  • root_id

  • stroke

  • width

  • active_circle_stroke_color

  • not_visible_circle_fill_color

  • text_color

  • text_weight

  • action_map

  • action_size

Events

Parameters
  • actives_change

  • visibility_change

  • action