express.ui.notification_remove

express.ui.notification_remove(id, *, session=None)

Remove a notification.

notification_remove provides a way to remove a notification programmatically. Notifications can also be removed manually by the user, or automatically after a specififed amont of time passes.

Parameters

id : str

The id of the notification to remove.

session : Optional[Session] = None

The Session in which the notification appears. If not provided, the session is inferred via get_current_session.

Returns

: str

The notification’s id.

See Also

Example

See shiny.express.ui.notification_show.