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-audio.js | ||
| chat-cook-function.js | ||
| chat-decorators.js | ||
| chat-keyboard-shortcuts.js | ||
| chat-plugin-decorators.js | ||
| chat-setup.js | ||
| chat-sidebar.js | ||
| chat-user-menu.js | ||
| chat-user-options.js | ||