Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UploadUtils

Index

Methods

Methods

Static uploadResources

  • This function is used to upload a resource into a component.
    It is executed asynchronous and provides a Promise which resolves when the resource upload has been finished and rejects if the upload has failed.

    Parameters

    • cmpName: string
    • resources: ResourceMap

      Key value pairs (key = resource name, value = the resource file or a base64 data string)

    Returns Promise<UploadStateMap>

Generated using TypeDoc