---
Added: v2.0.0
Status: Active
---
# Node Delete directive
Deletes multiple files and folders.
## Basic Usage
```html
...
```
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| 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
| Name | Type | Description |
| ---- | ---- | ----------- |
| delete | `EventEmitter` | Emitted when the nodes have been deleted. |
## Details
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
- [Node Restore directive](node-restore.directive.md)