---
Added: v2.0.0
Status: Active
Last reviewed: 2018-04-10
---
# Node Delete directive
Deletes multiple files and folders.
## Basic Usage
```html
...
```
## Class members
### Properties
| Name | Type | Default value | Description |
| -- | -- | -- | -- |
| permanent | `boolean` | false | If true then the nodes are deleted immediately rather than being put in the trash |
| adf-delete | `MinimalNodeEntity[] | DeletedNodeEntity[]` | | Array of nodes to delete. |
### Events
| Name | Type | Description |
| -- | -- | -- |
| delete | `EventEmitter` | Emitted when the nodes have been deleted. |
## Details
Note that if a target item is already in the trashcan (and is therefore a `DeletedNodeEntity`) then
this action will delete the file permanently.
## See also
- [Node Restore directive](node-restore.directive.md)