function sap/ui/dom/includeScript

Visiblity: public
Available since: N/A
Module: sap/ui/dom/includeScript
Application Component:

Includes the script (via <script>-tag) into the head for the specified sUrl and optional sId.


Parameters Overview

Param Type Default Value Description
vUrl string|object the URL of the script to load or a configuration object
vId? string|object id that should be used for the script tag or map of attributes
fnLoadCallback? function callback function to get notified once the script has been loaded
fnErrorCallback? function callback function to get notified once the script loading failed

Methods Overview

Method Description