Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/DIYgod/DPlayer
/ toggle
Method
toggle
src/js/controller.js:407–413 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
405
}
406
407
toggle() {
408
if
(this.isShow()) {
409
this.hide();
410
}
else
{
411
this.show();
412
}
413
}
414
415
destroy() {
416
if
(!utils.isMobile) {
Callers
3
initPlayButton
Method · 0.95
initFullButton
Method · 0.45
initSubtitleButton
Method · 0.45
Calls
3
isShow
Method · 0.95
hide
Method · 0.95
show
Method · 0.95
Tested by
no test coverage detected