wf.init_state()
method with a dictionary argument.
counter
at 0. As users interact with the application and activate event handlers, their session’s counter
value will change. For instance, if a user triggers the increment
handler three times, their counter will increase to 3.
To access the counter
value in the Builder, use @.
@{my_app.title}
.
_
. This is useful in several scenarios:
wf.pack_file()
and wf.pack_bytes()
for this purpose. The mime_type
argument, while optional, specifies the media type, helping the browser to correctly handle the data.
@{my_matplotlib_fig}
. Alternatively, as data inside a File Download component.