widgets/implementations/image/image-widget.service.ts
Methods |
|
constructor(inventory: InventoryService, fileService: FilesService, alert: AlertService, translate: TranslateService, binary: InventoryBinaryService)
|
||||||||||||||||||
|
Parameters :
|
| Async getImageDetails | ||||||
getImageDetails(imageBinaryId: string | null)
|
||||||
|
Parameters :
Returns :
Promise<literal type>
|
| getStyling | ||||||
getStyling(config: ImageWidgetConfig)
|
||||||
|
Parameters :
Returns :
ImageWidgetStyle | null
|
| Async uploadFile | ||||||||||||
uploadFile(file: File, options: literal type)
|
||||||||||||
|
Parameters :
Returns :
Promise<string>
|