--- Added: v2.0.0 Status: Active Last reviewed: 2018-04-10 --- # Folder Edit directive Allows folders to be edited. ## Basic Usage ```html ... ``` ## Class members ### Properties | Name | Type | Default value | Description | | -- | -- | -- | -- | | adf-edit-folder | [`MinimalNodeEntryEntity`](../content-services/document-library.model.md) | | Folder node to edit. | | title | `string` | null | Title of folder edit dialog. | ### Events | Name | Type | Description | | -- | -- | -- | | error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | Emitted when an error occurs (eg, a folder with same name already exists). | | success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<`[`MinimalNodeEntryEntity`](../content-services/document-library.model.md)`>` | Emitted when the folder has been edited successfully. | ## Details Pass this directive a folder to edit its name and description using a [Folder Dialog component](../../lib/content-services/dialogs/folder.dialog.ts). If the data is valid then the dialog emits a `folderEdit` event when it closes.