Shows a chat's drawer. Supplying content or title updates that
field before the panel is shown. Omitted fields preserve their current value.
Usage
chat_drawer_show(
id,
content = NULL,
title = NULL,
session = shiny::getDefaultReactiveDomain()
)Arguments
- id
The ID of the chat element.
- content
Optional UI content for the drawer. Use an empty
htmltools::tagList()to clear the content.- title
Optional drawer title. Use
""to clear the title.- session
The Shiny session object.
See also
chat_drawer() to configure a drawer, and chat_ui() or
page_chat() to display one.
Other chat drawers:
chat_drawer(),
chat_drawer_hide(),
chat_drawer_toggle(),
chat_drawer_update()