discourse/plugins/chat/test
Joffrey JAFFEUX 727100d1e2
DEV: adds a addChatDrawerStateCallback API (#20640)
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.
2023-03-10 18:49:59 +01:00
..
javascripts DEV: adds a addChatDrawerStateCallback API (#20640) 2023-03-10 18:49:59 +01:00