Trilium Backend API
    Preparing search index...
    • Insert every element in the set of matched elements to the end of the target.

      Type Parameters

      Parameters

      Returns Cheerio<T>

      The instance itself.

      $('<li class="plum">Plum</li>').appendTo('#fruits');
      $.html();
      //=> <ul id="fruits">
      // <li class="apple">Apple</li>
      // <li class="orange">Orange</li>
      // <li class="pear">Pear</li>
      // <li class="plum">Plum</li>
      // </ul>