peertube-plugin-livechat/conversejs/custom/plugins/tasks/muc-task-lists-view.js
John Livingston ad090eaca4
Task lists WIP:
* initializing a modal
2024-05-13 10:52:31 +02:00

21 lines
484 B
JavaScript

import { CustomElement } from 'shared/components/element.js'
import { _converse, api } from '@converse/headless/core'
export default class MUCTaskListsView extends CustomElement {
static get properties () {
return {
jid: { type: String, attribute: true }
}
}
async initialize () {
this.model = _converse.chatboxes.get(this.getAttribute('jid'))
}
render () {
return ''
}
}
api.elements.define('livechat-converse-muc-task-lists', MUCTaskListsView)