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