Function fromRemoteLiquidTemplate

  • Load a remote liquid template and render it into a container

    Type Parameters

    Parameters

    • url: string

      Remote Liquid template URL

    Returns (container: HTMLElement, state: State) => PromiseLike<void>

    Render function

    import { fromRemoteLiquidTemplate } from "@nosto/autocomplete/liquid";

    const render = fromRemoteLiquidTemplate("https://example.com/template.liquid");