[ADF-2340] add trashcan in demo shell and definitely delete in delete directive (#2976)

* add trashcan in demo shell and definetly delete in delete directive

* fix delte directive test
This commit is contained in:
Eugenio Romano
2018-02-22 12:33:42 +00:00
committed by GitHub
parent 9bb2a0ae19
commit 6e14ff5470
12 changed files with 298 additions and 31 deletions

View File

@@ -25,7 +25,7 @@ Deletes multiple files and folders.
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| selection | `MinimalNodeEntity[]` | | Array of nodes to delete. |
| selection | `MinimalNodeEntity[] | DeletedNodeEntity[]` | | Array of nodes to delete. |
| permanent | `boolean` | `false` | If true then the nodes are deleted immediately rather than being put in the trash. |
### Events
@@ -36,7 +36,7 @@ Deletes multiple files and folders.
## Details
See **Demo Shell**
Note it the file is already in the trashcan so is a DeletedNodeEntity the performing of this action will delete the file premanently
## See also