mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-2161] download directive (#2934)
* node download directive * integrate with demo shell * docs on the directive * node actions integration * test fixes * remove old and disable invalid tests * remove fdescribe * fix unit tests
This commit is contained in:
@@ -202,6 +202,7 @@ for more information about installing and using the source code.
|
||||
| [Folder create directive](folder-create.directive.md) | Allows folders to be created. | [Source](../lib/content-services/folder-directive/folder-create.directive.ts) |
|
||||
| [Folder edit directive](folder-edit.directive.md) | Allows folders to be edited. | [Source](../lib/content-services/folder-directive/folder-edit.directive.ts) |
|
||||
| [File draggable directive](file-draggable.directive.md) | Provide drag-and-drop features for an element such as a `div`. | [Source](../lib/content-services/upload/directives/file-draggable.directive.ts) |
|
||||
| [Node download directive](node-download.directive.md) | Downloads folders and files. Packs folders and/or multiple files into a .ZIP archive. | [Source](../lib/content-services/directives/node-download.directive.ts) |
|
||||
|
||||
## Models
|
||||
|
||||
|
18
docs/node-download.directive.md
Normal file
18
docs/node-download.directive.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Node Download directive
|
||||
|
||||
Allows folders and/or files to be downloaded. Multiple nodes are packed as a '.ZIP' archive.
|
||||
|
||||
## Basic Usage
|
||||
|
||||
```html
|
||||
<adf-toolbar>
|
||||
<button mat-icon-button
|
||||
[adfNodeDownload]="documentList.selection">
|
||||
<mat-icon>get_app</mat-icon>
|
||||
</button>
|
||||
</adf-toolbar>
|
||||
|
||||
<adf-document-list #documentList ...>
|
||||
...
|
||||
</adf-document-list>
|
||||
```
|
Reference in New Issue
Block a user