function toggleHidden(element, toggle) {
        if (!utils.is.element(element)) {
            return;
        }

        if (toggle) {
            element.setAttribute('hidden', '');
        } else {
            element.removeAttribute('hidden');
        }
    }
// Toggle hidden attribute on an element
Toggle hidden attribute on an element
Toggle hidden attribute on an element
function toggleHidden(element, toggle) {
        if (!utils.is.element(element)) {
            return;
        }
        if (toggle) {
            element.setAttribute('hidden', '');
        } else {
            element.removeAttribute('hidden');
        }
    }
function toggleHidden ( element , toggle ) { if ( ! utils . is . element ( element ) ) { return ; } if ( toggle ) { element . setAttribute ( 'hidden' , '' ) ; } else { element . removeAttribute ( 'hidden' ) ; } }
Toggle hidden attribute on an element
Toggle hidden attribute on an element