@metreeca/tile
    Preparing search index...
    • Creates an incremental loading trigger.

      Placed after the last item a list shows, it asks for more as soon as it comes into view, and stands in the list meanwhile as a turning mark saying that more is on its way. A list with nothing left to fetch stops rendering it.

      A trigger still in view once the batch it asked for has landed asks again as soon as it is handed a new onLoad, so a batch too short to push it out of view is followed by the next one without the reader having to scroll.

      The mark is decorative: waiting is for the list the trigger closes to state, for instance through aria-busy.

      Parameters

      • options: { onLoad: () => void; children?: ComponentChildren }

        The widget configuration

        • onLoad: () => void

          What the request for the next batch is handed to, each time the trigger comes into view.

        • Optionalchildren?: ComponentChildren

          The content standing in the list while the trigger waits; a turning mark if omitted.

      Returns VNode<
          ClassAttributes<HTMLElement> & HTMLAttributes<EventTarget> & SVGAttributes<
              SVGElement,
          >,
      >

      The trigger