mami/src/mami.js/ui/chat-sidebar.js

25 lines
491 B
JavaScript
Raw Normal View History

2024-01-18 19:50:37 +00:00
#include utility.js
#include ui/chat-sidebar-container.js
#include ui/chat-sidebar-buttons.js
Umi.UI.ChatSideBar = function() {
const container = new Umi.UI.ChatSideBarContainer,
buttons = new Umi.UI.ChatSideBarButtons;
const html = $e({
attrs: {
className: 'sidebar',
},
child: [
buttons,
container,
],
});
return {
getElement: function() {
return html;
},
};
};