Edit this page

up.element up.element.hide(element)
JavaScript function

Hides the given element.

Also see up.element.show() and up.element.toggle().

Implementation

The element is hidden by setting an [hidden] attribute. This effectively gives the element a display: none rule.

To customize the CSS rule for hiding, see [hidden].

Parameters

element Element