File: 385.py

package info (click to toggle)
python-trame 3.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 101,620 kB
  • sloc: python: 13,515; sh: 183; javascript: 93; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
from trame.app import get_server
from trame.ui.html import DivLayout
from trame.widgets import vuetify

with DivLayout(get_server(client_type="vue2")) as layout:
    vuetify.VTextField(
        label="defectName",
        v_model=("defectForm",),
        required=True,
        __properties=["required"],
    )
    print(layout)