UNPKG
librecast-live
Version:
latest (0.0.0)
0.0.0
Live Streaming Video Platform with IPv6 Multicast
librecast-live
/
src
/
components
/
dialog.js
17 lines
(16 loc)
•
285 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class
Dialog
extends
Component
{ nodeName =
'DIALOG'
;
constructor
(
) {
super
(); store.
subscribe
(
'state.closex'
,
this
.
close
); }
close
(
) {
console
.
log
(
"closex clicked"
); }
get
template
() {
return
`<div class="dialog"> <closex></closex>
${
this
.content}
</div>`
; } }