Function: loadResource()
loadResource(
id,href,rel):Promise<void>
Loads a resource into the document head asynchronously. Internal use only.
Parameters
id
string
the identifier of the resource.
href
string
represents a URL to the resource.
rel
string
the relationship of the resource to the document.
Returns
Promise<void>
the promise that resolves when the resource has been loaded successfully.