Every line of '1 hidden click to show' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
51 set hidden(flag) 52 { 53 this._element.classList.toggle("hidden", flag); 54 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code
249 function hide (id) { 250 doSeries(id, 'hide'); 251 }
11 function showHide(id,force){ 12 var o, st; 13 if( document.getElementById ) // Standart way 14 o = document.getElementById(id); 15 else if(document.all) // for old MSIE 16 o = document.all[id]; 17 else if(document.layers) // for NN4 18 o = document.layers[id]; 19 st = o.style; 20 21 if(force != undefined){ 22 st.display = (force) ? 'table' : 'none'; 23 return 24 } 25 // if the style.display value is blank we try to figure it out here 26 if(st.display == '' && o.offsetWidth != undefined && o.offsetHeight != undefined) 27 st.display = (o.offsetWidth != 0 && o.offsetHeight != 0) ? 'table' : 'none'; 28 st.display = (st.display == '' || st.display == 'table') ? 'none' : 'table'; 29 }