[ACS-6071] fix JSDoc issues for Core lib (#8942)

* fix jsdoc issues

* docs fixes

* doc fixes

* doc fixes

* fix docs

* fix bugs
This commit is contained in:
Denys Vuika
2023-09-28 14:00:30 +01:00
committed by GitHub
parent d7e0bb6cd3
commit 65d70bffb2
46 changed files with 280 additions and 79 deletions

View File

@@ -32,7 +32,8 @@ export class UploadDirective implements OnInit, OnDestroy {
@Input('adf-upload-data')
data: any;
/** Upload mode. Can be "drop" (receives dropped files) or "click"
/**
* Upload mode. Can be "drop" (receives dropped files) or "click"
* (clicking opens a file dialog). Both modes can be active at once.
*/
@Input()
@@ -191,6 +192,7 @@ export class UploadDirective implements OnInit, OnDestroy {
* Extract files from the DataTransfer object used to hold the data that is being dragged during a drag and drop operation.
*
* @param dataTransfer DataTransfer object
* @returns a list of file info objects
*/
getFilesDropped(dataTransfer: DataTransfer): Promise<FileInfo[]> {
return new Promise((resolve) => {