Declare UIs with Declarative API#
Panel is built on Param - a library for handling all the user-modifiable parameters, arguments, and attributes that control your code. This section contains how-to guides for using Param
objects and declared dependencies to generate user interfaces with Panel.
Parameters
How to generate UIs from Parameterized classes without writing any GUI related code.
How to extend Param based UIs with custom widgets.
How to leverage @param.depends
to express dependencies and trigger events based on UI interactions.
How to structure Parameterized classes with subobjects to create nested UIs automatically.
Examples#
Using param.Action
to define a UI with a button.
Automatically enable a loading indicator for components rendered dynamically.
Using Param to express a nested UI using a hierarchy of classes.
Using Parameter precedence to control the visibility of components.