mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
727100d1e2
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. |
||
---|---|---|
.. | ||
chat | ||
discourse-details | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
lazy-yt | ||
poll | ||
styleguide |