sud.loadSubpackage
JS
LoadSubpackageTask sud.loadSubpackage(Object object)Parameters
- Object object: Input parameters; see the table below for specific properties
Properties of object:
| Property | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Name or entry of the subpackage; must correspond to the value in the subpackage configuration |
| success | function | No | Callback function for a successful API call |
| fail | function | No | Callback function for a failed API call |
| complete | function | No | Callback function for the completion of the API call |
Return Value
- LoadSubpackageTask: The subpackage loading task instance, used to get the subpackage loading status
