Collapse¶
-
class
awe.view.Collapse[source]¶ -
new_panel(header=None, active=False, **kwargs)[source]¶ Add a panel child.
Parameters: - header – If supplied, should be the text to display as the panel header.
Otherwise, the returned panel element will expose a
headerfield. This field should be used to create an element hierarchy (similar toPage) that will be passed as aReactNodeto the underlying ant design reactPanelcomponent. - active – Should this panel be collapsed or expanded by default. (default: False)
Returns: The created panel element.
- header – If supplied, should be the text to display as the panel header.
Otherwise, the returned panel element will expose a
-