preload_tag
{{#preload_tag url [as=string] [rel=string] /}}
Params
-
urlstring: The url of the resource to be preloaded.
Hash Params
-
asstring: Sets theasattribute. -
relstring: Sets therelattribute.
Example
Preload the specified javascript link
{{#preload_tag "base/index.js" | asset_url() /}}
Was this article helpful to you?