MCPcopy
hub / github.com/iuroc/bilidown / constructor

Method constructor

client/src/task/playerModal.ts:78–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 fileExtension = van.state('.mp4')
77
78 constructor() {
79 this.playerComp = new PlayerComp()
80 this.element = this.Root()
81 this.initModalEvent()
82
83 van.add(document.body, this.element)
84 this.playerComp.initPlayer()
85 this.modal = new Modal(this.element)
86 }
87
88 initModalEvent() {
89 this.element.addEventListener('shown.bs.modal', () => {

Callers

nothing calls this directly

Calls 4

RootMethod · 0.95
initModalEventMethod · 0.95
addMethod · 0.80
initPlayerMethod · 0.80

Tested by

no test coverage detected