MCPcopy
hub / github.com/miroslavpejic85/mirotalksfu / show

Function show

public/js/Room.js:2164–2171  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

2162}
2163
2164function show(elem) {
2165 elem = typeof elem === 'string' ? getId(elem) : elem;
2166 if (!elem || !elem.classList) {
2167 elementNotFound(elem);
2168 return;
2169 }
2170 if (elem.classList.contains('hidden')) elem.classList.toggle('hidden');
2171}
2172
2173function disable(elem, disabled) {
2174 elem = typeof elem === 'string' ? getId(elem) : elem;

Callers 15

SpeechRec.jsFile · 0.85
initMethod · 0.85
maximizeMethod · 0.85
minimizeMethod · 0.85
unpinnedMethod · 0.85
handleRoomInfoMethod · 0.85
produceMethod · 0.85
setPeerAudioMethod · 0.85
setIsAudioMethod · 0.85
handleVBMethod · 0.85
toggleChatMethod · 0.85
chatMaximizeMethod · 0.85

Calls 3

getIdFunction · 0.85
elementNotFoundFunction · 0.85
toggleMethod · 0.45

Tested by

no test coverage detected