File: attr_type.py

package info (click to toggle)
python-trame-client 3.11.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,128 kB
  • sloc: python: 9,609; javascript: 3,897; sh: 9; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Run with -d or --debug
from trame.app import get_server
from trame.ui.html import DivLayout
from trame.widgets import html

server = get_server(client_type="vue3")

with DivLayout(server) as layout:
    html.Div(
        v_show=True,
        test=({},),
        test_1=([],),
        test_2=(5,),
        __properties=[
            "test",
            "test_1",
            "test_2",
        ],
    )