Function fromRemoteMustacheTemplate
- fromRemoteMustacheTemplate<State extends object = DefaultState>(
url: string,
options?: { helpers?: object },
): (container: HTMLElement, state: State) => PromiseLike<void> Parameters
- url: string
Optional
options: { helpers?: object }
Returns (container: HTMLElement, state: State) => PromiseLike<void>
Render function
Load a remote Mustache template and render it into a container