trame.app.demo module
- class trame.app.demo.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.demo.SinglePageLayout(_server, template_name='main', **kwargs)
Bases:
VAppLayoutLayout composed of the following structure:
- Parameters:
_server – Server to bound the layout to
template_name – Name of the template (default: main)
vuetify_config – Dict structure to configure vuetify
<v-app> <v-app-bar> # layout.toolbar <v-app-bar-nav-icon /> # layout.icon <v-toolbar-title> # layout.title Trame application </v-toolbar-title> </v-app-bar> <v-main /> # layout.content <v-footer app border class="my-0 py-0"> # layout.footer < ... /> </v-footer> </v-app>