File

widgets/implementations/image/image-widget.service.ts

Index

Methods

Constructor

constructor(inventory: InventoryService, fileService: FilesService, alert: AlertService, translate: TranslateService, binary: InventoryBinaryService)
Parameters :
Name Type Optional
inventory InventoryService No
fileService FilesService No
alert AlertService No
translate TranslateService No
binary InventoryBinaryService No

Methods

Async getImageDetails
getImageDetails(imageBinaryId: string | null)
Parameters :
Name Type Optional
imageBinaryId string | null No
Returns : Promise<literal type>
getStyling
getStyling(config: ImageWidgetConfig)
Parameters :
Name Type Optional
config ImageWidgetConfig No
Returns : ImageWidgetStyle | null
Async uploadFile
uploadFile(file: File, options: literal type)
Parameters :
Name Type Optional Default value
file File No
options literal type No {}
Returns : Promise<string>

results matching ""

    No results matching ""