dash_mp_components.Modal¶
- class dash_mp_components.Modal(children: str | int | float | Component | None | Sequence[str | int | float | Component | None] = None, id: str | dict | None = None, className: str | None = None, **kwargs)[source]¶
Bases:
ComponentA Modal component. Render modal that can be opened by a ModalTrigger within its same ModalContextProvider
Keyword arguments:
- children (a list of or a singular dash component, string or number; optional):
Children will be rendered as the modal content.
- id (string; optional):
The ID used to identify this component in Dash callbacks.
- className (string; optional):
Class name applied to the top-level modal div. The “mpc-modal” and “modal” classes are added automatically.
- __init__(children: str | int | float | Component | None | Sequence[str | int | float | Component | None] = None, id: str | dict | None = None, className: str | None = None, **kwargs)¶
Methods
__init__([children, id, className])to_plotly_json()Attributes
REQUIREDUNDEFINEDavailable_wildcard_properties