panel.models.modal module#

class panel.models.modal.Modal(*args: Any, id: ID | None = None, **kwargs: Any)[source]#

Bases: Column

Attributes:
background_close

Whether to enable closing the modal when clicking the background.

open

Whether or not the modal is open.

show_close_button

Whether to show a close button in the modal.

background_close#

Whether to enable closing the modal when clicking the background.

open#

Whether or not the modal is open.

show_close_button#

Whether to show a close button in the modal.

class panel.models.modal.ModalDialogEvent(model: Model | None, open: bool)[source]#

Bases: ModelEvent

Methods

event_values