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
header
field. This field should be used to create an element hierarchy (similar toPage
) that will be passed as aReactNode
to the underlying ant design reactPanel
component. - 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
-