Document the sub_title reactive instance attribute

See #1564.
This commit is contained in:
Dave Pearson
2023-01-16 07:06:33 +00:00
parent 7f9c109a79
commit f72a4cfa8c

View File

@@ -270,6 +270,13 @@ class App(Generic[ReturnType], DOMNode):
"""
sub_title: Reactive[str] = Reactive("", compute=False)
"""Reactive[str]: The sub-title for the application.
The initial value in a running application will be that set in `SUB_TITLE`
(if one is set). Assign new values to this instance attribute to change
the sub-title.
"""
dark: Reactive[bool] = Reactive(True, compute=False)
def __init__(