mazey
    Preparing search index...

    Function show

    • Show every resolved element by restoring a display value preserved by hide, or by applying the document-aware default for CSS-hidden elements.

      import { show } from "mazey";

      const notices = document.querySelectorAll(".notice");
      show(notices);

      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.