Facet
A frontend side of the interface. While a dialog is open, this allows to set frontend properties like the heading.
Read Tag.facet
to see how to access from the front-end side.
Read Mininterface.facet
to see how to access from the back-end side.
set_title(text)
Set the main heading.
submit(_post_submit=None)
Submits the whole form.
```python from mininterface import run, Tag
def callback(tag: Tag): tag.facet.submit()
m = run() out = m.form({ "My choice": Tag(choices=["one", "two"], on_change=callback) })