loadCSS | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/dompackloadCSSFunction loadCSSloadCSS(src: string, options?: { doc?: Document }): Promise<HTMLLinkElement>Load a CSS file and add it to the DOM Parameterssrc: stringThe CSS source URL Optionaloptions: { doc?: Document }Returns Promise<HTMLLinkElement>A promise resolving to the link node SettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Load a CSS file and add it to the DOM