Skip to content

sud.loadSubpackage ​

JS
    LoadSubpackageTask sud.loadSubpackage(Object object)

Parameters

  • Object object: Input parameters; see the table below for specific properties

Properties of object:

PropertyTypeRequiredDescription
namestringYesName or entry of the subpackage; must correspond to the value in the subpackage configuration
successfunctionNoCallback function for a successful API call
failfunctionNoCallback function for a failed API call
completefunctionNoCallback function for the completion of the API call

Return Value

  • LoadSubpackageTask: The subpackage loading task instance, used to get the subpackage loading status