*
* @param {Element} element target element
* @param {string} attribute attribute name
- * @param {mixed=} value attribute value, omit if attribute should be read
+ * @param {?=} value attribute value, omit if attribute should be read
* @return {(string|undefined)} attribute value, empty string if attribute is not set or undefined if `value` was omitted
*/
window.elAttr = function(element, attribute, value) {
*
* @param {Element} element target element
* @param {string} attribute attribute name
- * @param {mixed=} value attribute value, omit if attribute should be read
+ * @param {?=} value attribute value, omit if attribute should be read
* @return {(string|undefined)} attribute value, empty string if attribute is not set or undefined if `value` was omitted
*/
window.elData = function(element, attribute, value) {
* @param {Element} element DOM element
*/
window.elHide = function(element) {
- element.style.setProperty('display', 'none');
+ element.style.setProperty('display', 'none', '');
};
/**