7 lines
No EOL
379 B
TypeScript
7 lines
No EOL
379 B
TypeScript
/**
|
|
* Loads all stylesheets from the given root element into the document.
|
|
* @returns an array of promises that resolve when each stylesheet is loaded
|
|
* @param document Document to load stylesheets into
|
|
* @param root Document or ShadowRoot to load stylesheets from
|
|
*/
|
|
export declare function loadStyleSheets(document: Document, root: Document | ShadowRoot): Promise<void>[]; |