Skip to content
Snippets Groups Projects
Commit 5001e2d1 authored by Diego Sampaio's avatar Diego Sampaio
Browse files

AccountBox initial docs

parent 7dda9cb4
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,30 @@ RocketChat.roomTypes.setPublish('l', (identifier) => {
});
```
### AccountBox
You can add items to the left upper corner drop menu:
```javascript
AccountBox.addItem({
name: 'Livechat',
icon: 'icon-chat-empty',
class: 'livechat-manager',
route: {
name: 'livechat-manager',
path: '/livechat-manager',
action(params, queryParams) {
Session.set('openedRoom');
BlazeLayout.render('main', {
center: 'page-container',
pageTitle: 'Live Chat Manager',
pageTemplate: 'livechat-manager'
});
}
},
permissions: ['view-livechat-manager']
});
```
### Functions
### Methods
### Publications
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment