discourse/plugins/chat/test/javascripts/unit
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
..
helpers DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
lib DEV: Remove defunct TODOs (#19825) 2023-01-12 09:41:39 +10:00
services DEV: adds a `addChatDrawerStateCallback` API (#20640) 2023-03-10 18:49:59 +01:00