mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 02:36:16 +08:00
![]() Usage: ```javascript api.addChatDrawerStateCallback(({ isDrawerActive, isDrawerExpanded }) => { // do something }); ``` Note this commit also uses this new API to add a css class (chat-drawer-active) on the body when the drawer is active. |
||
---|---|---|
.. | ||
javascripts | ||
stylesheets |