part class
Displays its children in a block.
Methods¶
__init__() ¶
__init__(
class_name=None,
render=True,
page=None,
height=None,
content=None,
partial=None,
id=None,
properties=None,
hover_text=None,
) -> None
Create a new part
element.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
A list of CSS class names, separated by white spaces, that are associated with the generated HTML Element. |
None
|
|
bool
|
If True, this part is visible on the page. |
True
|
|
str
|
The page to show as the content of the block (page name if defined or a URL in an iframe). |
None
|
|
str
|
The height, in CSS units, of this block. |
None
|
|
Any
|
The content provided to the part. See the documentation section on content providers. |
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 information that is displayed when the user hovers over this element. |
None
|