12 lines
395 B
JavaScript
12 lines
395 B
JavaScript
#include ui/chat-interface.js
|
|
|
|
// this needs revising at some point but will suffice for now
|
|
Umi.UI.ChatLayout = function(chatForm, sideBar) {
|
|
const main = new Umi.UI.ChatInterface(chatForm);
|
|
const element = $element('div', { id: 'umi-chat', className: 'umi' }, main, sideBar);
|
|
|
|
return {
|
|
get interface() { return main; },
|
|
get element() { return element; },
|
|
};
|
|
};
|