Selector.filterHidden Method

Selects hidden elements only.

Selector().filterHidden() → Selector

The elements that have a display: none or visibility: hidden CSS property or zero width or height are considered hidden.

Example

// Selects all hidden label elements.
Selector('label').filterHidden();