[ADF-4189] Improved document list prop description (#4405)

This commit is contained in:
Andy Stark 2019-03-06 17:12:22 +00:00 committed by Eugenio Romano
parent f7a399c3e8
commit 75b90c5e08
2 changed files with 8 additions and 2 deletions

View File

@ -56,7 +56,7 @@ Displays the documents from a repository.
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| allowDropFiles | `boolean` | false | Toggle file drop support for rows (see [Upload Directive](../core/upload.directive.md) for further details) |
| allowDropFiles | `boolean` | false | When true, this enables you to drop files directly into subfolders shown as items in the list. When false, the dropped file will be added to the current folder (ie, the one containing all the items shown in the list). See the [Upload directive](../core/upload.directive.md) for further details about how the file drop is handled. |
| contentActions | `boolean` | false | Toggles content actions for each row |
| contentActionsPosition | `string` | "right" | Position of the content actions dropdown menu. Can be set to "left" or "right". |
| contextMenuActions | `boolean` | false | Toggles context menus for each row |

View File

@ -159,7 +159,13 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
@Input()
emptyFolderImageUrl: string = './assets/images/empty_doc_lib.svg';
/** Toggle file drop support for rows (see Upload Directive for further details) */
/**
* When true, this enables you to drop files directly into subfolders shown
* as items in the list. When false, the dropped file will be added to the
* current folder (ie, the one containing all the items shown in the list).
* See the Upload directive for further details about how the file drop is
* handled.
*/
@Input()
allowDropFiles: boolean = false;