Trilium Backend API
    Preparing search index...
    • Retrieve all the DOM elements contained in the jQuery set as an array.

      Type Parameters

      • T

      Parameters

      Returns T[]

      The contained items.

      $('li').toArray();
      //=> [ {...}, {...}, {...} ]