expandable class
Displays its child elements in a collapsible area.
Methods¶
__init__() ¶
__init__(
title=None,
expanded=True,
page=None,
partial=None,
id=None,
properties=None,
class_name=None,
hover_text=None,
on_change=None,
) -> None
Create a new expandable
element.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
Title of this block element. |
None
|
|
bool
|
If True, the block is expanded, and the content is displayed. |
True
|
|
str
|
The page name to show as the content of the block. |
None
|
|
Partial
|
A Partial object that holds the content of the block. |
None
|
|
str
|
The identifier that is assigned to the rendered HTML component. |
None
|
|
dict[str, Any]
|
Bound to a dictionary that contains additional properties for this element. |
None
|
|
str
|
The list of CSS class names that are associated with the generated HTML Element. |
None
|
|
str
|
The information that is displayed when the user hovers over this element. |
None
|
|
Union[str, Callable]
|
A function or the name of a function that is triggered when the value is updated.
|
None
|