trame.app.klass module
- class trame.app.klass.TrameApp(server=None, client_type='vue3', ctx_name=None, **_)
Bases:
TrameComponentBase trame class that has access to a trame server instance on which we provide simple accessor and method decoration capabilities.
- class trame.app.klass.TrameComponent(server, ctx_name=None, **_)
Bases:
objectBase trame class that has access to a trame server instance on which we provide simple accessor and method decoration capabilities.
- property server
Return the associated trame server instance
- property state
Return the associated server state
- property ctrl
Return the associated server controller
- property ctx
Return the associated server context