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.
|
||
|---|---|---|
| .. | ||
| adapters | ||
| components | ||
| connectors | ||
| controllers | ||
| helpers | ||
| initializers | ||
| lib | ||
| models | ||
| modifiers/chat | ||
| pre-initializers | ||
| routes | ||
| services | ||
| templates | ||
| widgets | ||
| admin-chat-route-map.js | ||
| chat-route-map.js | ||
| preferences-chat-route-map.js | ||