loadScript | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/dompackloadScriptFunction loadScriptloadScript( scriptsrc: string, module?: { module?: boolean },): Promise<HTMLScriptElement>Load a JavaScript file and add it to the DOM Parametersscriptsrc: stringThe script source URL module: { module?: boolean } = {}Load as module Returns Promise<HTMLScriptElement>A promise resolving to the script node SettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Load a JavaScript file and add it to the DOM