File

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

Index

Methods

Constructor

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

Methods

Async getFile
getFile(markdownBinaryId: string | null)
Parameters :
Name Type Optional
markdownBinaryId string | null No
Returns : Promise<File>
Async uploadFile
uploadFile(file: File)
Parameters :
Name Type Optional
file File No
Returns : Promise<string>

results matching ""

    No results matching ""