Svelte Autocomplete question

I am migrating my App from Framework7 core to svelte. I utilize an autocomplete search function (ajax request) that populates a sheet modal with some additional json data for the value selected. In Framework7 core I used template7 to render the html. Worked well. Since svelte does not need something like Template7, I am having trouble getting it to work. In addition, it seems there is not any specific info for Autocomplete on the Framework7 Svelte page, only for core.

My Core autocomplete success function:

   success: function(data) {
      // Find matched items
      for (var i = 0; i < data.length; i++) {
        if (data[i].name.toLowerCase().indexOf(query.toLowerCase()) >= 0) results.push(data[i]);

      // Render items by passing array with result items

      document.getElementById('results').innerHTML = compiledTemplate(results);

I am using the same code for Svelte but stuck on how I do it as I did using Template7
Any help would be appreciated