File

ecosystem/shared/upload-archive.component.ts

Metadata

Index

Properties
Methods
Inputs
Outputs
Accessors

Constructor

constructor(ecosystemService: EcosystemService, alertService: AlertService)
Parameters :
Name Type Optional
ecosystemService EcosystemService No
alertService AlertService No

Inputs

application
Type : IApplication

Outputs

applicationChange
Type : EventEmitter<IApplication>
refresh
Type : EventEmitter<any>

Methods

onFileDroppedEvent
onFileDroppedEvent(event)
Parameters :
Name Optional
event No
Returns : void

Properties

archives
Type : IApplicationBinary[]
Default value : []
canReactivate
Type : boolean
Default value : false
fileList
Type : FileList
isLoading
Type : boolean
last
Type : IApplicationBinary
toActivateVersionId
Type : string
uploadInProgress
Type : boolean
Default value : false

Accessors

uploadProgress
getuploadProgress()
<c8y-drop-area
  (dropped)="onFileDroppedEvent($event)"
  [accept]="'.zip'"
  [files]="fileList"
  [loading]="uploadInProgress"
  [maxAllowedFiles]="1"
  [message]="'Upload a *.zip file' | translate"
  [progress]="uploadProgress | async"
  [forceHideList]="true"
  class="drop-area-sm"
>
</c8y-drop-area>

results matching ""

    No results matching ""