dash_mp_components.DrawerTrigger

class dash_mp_components.DrawerTrigger(children: str | int | float | Component | None | Sequence[str | int | float | Component | None] = None, id: str | dict | None = None, className: str | None = None, forDrawerId: str | None = None, **kwargs)[source]

Bases: Component

A DrawerTrigger component. Render a trigger that opens a Drawer that is within the same DrawerContextProvider

Keyword arguments:

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

    Children will be rendered as the trigger content.

  • id (string; optional):

    The ID used to identify this component in Dash callbacks.

  • className (string; optional):

    Class name applied to the modal trigger span. The “mpc-modal-trigger” class is added automatically.

  • forDrawerId (string; optional):

    The ID of the drawer that this trigger should open.

__init__(children: str | int | float | Component | None | Sequence[str | int | float | Component | None] = None, id: str | dict | None = None, className: str | None = None, forDrawerId: str | None = None, **kwargs)

Methods

__init__([children, id, className, forDrawerId])

to_plotly_json()

Attributes

REQUIRED

UNDEFINED

available_wildcard_properties