alfresco-ng2-components/docs/node-delete.directive.md
2018-02-20 14:00:18 +00:00

875 B

Node Delete directive

Deletes multiple files and folders.

Basic Usage

<adf-toolbar>
    <button mat-icon-button
            (delete)="documentList.reload()"
            [adf-delete]="documentList.selection">
    </button>
</adf-toolbar>

<adf-document-list #documentList ...>
 ...
</adf-document-list>

Properties

Name Type Default value Description
selection MinimalNodeEntity[] 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<any> Emitted when the nodes have been deleted.

Details

See Demo Shell

See also