types.ChatDrawerController
types.ChatDrawerController(chat)Control the artifact panel associated with a :class:~shinychat.Chat.
Methods
| Name | Description |
|---|---|
| hide | Hide the artifact panel without changing its content. |
| show | Show the artifact panel, optionally replacing its content or title. |
| toggle | Toggle the artifact panel’s visibility without changing its content. |
| update | Update supplied panel fields without changing its visibility. |
hide
types.ChatDrawerController.hide()Hide the artifact panel without changing its content.
show
types.ChatDrawerController.show(content=None, title=None)Show the artifact panel, optionally replacing its content or title.
toggle
types.ChatDrawerController.toggle()Toggle the artifact panel’s visibility without changing its content.
update
types.ChatDrawerController.update(content=None, title=None)Update supplied panel fields without changing its visibility.