MCPcopy
hub / github.com/chen-zeong/DTV / openPanel

Method openPanel

web/src/components/player/danmuPlugins.ts:370–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

368 }
369
370 private openPanel() {
371 if (!this.panel || this.isOpen) {
372 return;
373 }
374 if (this.hoverCloseTimer) {
375 clearTimeout(this.hoverCloseTimer);
376 this.hoverCloseTimer = null;
377 }
378 this.isOpen = true;
379 this.panel.classList.add('show');
380 this.root.classList.add('menu-open');
381 this.updateInputs();
382 }
383
384 private closePanel() {
385 if (!this.panel) {

Callers 2

afterCreateMethod · 0.95
togglePanelMethod · 0.95

Calls 1

updateInputsMethod · 0.95

Tested by

no test coverage detected