mazey
    Preparing search index...

    Function hide

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

      import { hide } from "mazey";

      hide(".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.