ecosystem/applications/add-web-application/add-web-application.component.ts
selector | c8y-add-web-application |
template |
|
Properties |
Methods |
|
constructor(ecosystemService: EcosystemService)
|
||||||
Parameters :
|
Async createApplication | ||||||
createApplication(file: File)
|
||||||
Parameters :
Returns :
Promise<IApplication>
|
Async uploadApplication | |||||||||
uploadApplication(file: File, app: IApplication)
|
|||||||||
Parameters :
Returns :
Promise<IApplication>
|
createApplicationHandler |
Default value : () => {...}
|
headerText |
Type : string
|
Default value : gettext('Upload web application')
|
successText |
Type : string
|
Default value : gettext('Application created')
|
uploadApplicationHandler |
Default value : () => {...}
|