mazey
    Preparing search index...

    Function hideElements

    • Hide every resolved element while preserving its visible inline display value for a later call to showElements.

      import { hideElements } from "mazey";

      hideElements(".notice");

      Type Parameters

      Parameters

      • target: T

        Selector, element, iterable, array-like collection, or an empty target.

      Returns T

      The original target unchanged, to support chaining by the caller.

      Selectors use the global document. Direct elements and collections use their owning documents. Invalid selectors and unsupported values are ignored. Duplicate elements are mutated once.