dash_mp_components.Drawer

class dash_mp_components.Drawer(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: Component

A Drawer component. Render drawer that can be opened by a ModalTrigger within a ModalContextProvider

Keyword arguments:

  • children (a list of or a singular dash component, string or number; optional):

    Children will be rendered as the drawer content.

  • id (string; optional):

    The ID used to identify this component in Dash callbacks.

  • className (string; optional):

    Class name applied to the top-level drawer div. The “mpc-drawer” 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

REQUIRED

UNDEFINED

available_wildcard_properties