[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 /** 2 * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> 3 * @license GNU General Public License version 2 or later; see LICENSE.txt 4 */ 5 Joomla = window.Joomla || {}; 6 7 (Joomla => { 8 Joomla.toggleAll = () => { 9 const checkBoxes = [].slice.call(document.querySelectorAll('.chk-menulink')); 10 checkBoxes.forEach(checkBox => { 11 checkBox.checked = !checkBox.checked; 12 }); 13 }; 14 15 Joomla.toggleMenutype = a => { 16 const checkBox = [].slice.call(document.getElementsByClassName(`menutype-$a}`)); 17 checkBox.forEach(element => { 18 element.checked = !element.checked; 19 }); 20 }; 21 })(Joomla);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |