mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
#384 Change API name, add docs, fix demo
This commit is contained in:
parent
5fa2a8d075
commit
369ac0d7d6
@ -100,6 +100,7 @@ Follow the 3 steps below:
|
||||
[currentFolderPath]="currentPath"
|
||||
[contextMenuActions]="true"
|
||||
[contentActions]="true"
|
||||
[creationMenuActions]="true"
|
||||
[multiselect]="true"
|
||||
(folderChange)="onFolderChanged($event)">
|
||||
</alfresco-document-list>
|
||||
@ -124,6 +125,7 @@ import { AlfrescoSettingsService, AlfrescoAuthenticationService } from 'ng2-alfr
|
||||
[currentFolderPath]="'/'"
|
||||
[contextMenuActions]="true"
|
||||
[contentActions]="true"
|
||||
[creationMenuActions]="true"
|
||||
[multiselect]="true">
|
||||
</alfresco-document-list>`
|
||||
})
|
||||
@ -176,6 +178,7 @@ platformBrowserDynamic().bootstrapModule(AppModule);
|
||||
| `multiselect` | boolean | false | Toggles multiselect mode |
|
||||
| `contentActions` | boolean | false | Toggles content actions for each row |
|
||||
| `contextMenuActions` | boolean | false | Toggles context menus for each row |
|
||||
| `creationMenuActions` | boolean | true | Toggles the creation menu actions|
|
||||
| `rowFilter` | `RowFilter` | | Custom row filter, [see more](#custom-row-filter).
|
||||
| `imageResolver` | `ImageResolver` | | Custom image resolver, [see more](#custom-image-resolver).
|
||||
|
||||
|
@ -48,6 +48,7 @@ import {
|
||||
[currentFolderPath]="currentPath"
|
||||
[contextMenuActions]="true"
|
||||
[contentActions]="true"
|
||||
[creationMenuActions]="true"
|
||||
(folderChange)="onFolderChanged($event)">
|
||||
<!--
|
||||
<empty-folder-content>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<alfresco-document-menu-action *ngIf="contentMenuActions"
|
||||
<alfresco-document-menu-action *ngIf="creationMenuActions"
|
||||
[currentFolderPath]="currentFolderPath"
|
||||
(onSuccess)="onActionMenuSuccess($event)"
|
||||
(onError)="onActionMenuError($event)">
|
||||
|
@ -87,10 +87,10 @@ export class DocumentList implements OnInit, AfterContentInit {
|
||||
contentActions: boolean = false;
|
||||
|
||||
@Input()
|
||||
contentMenuActions: boolean = true;
|
||||
contextMenuActions: boolean = false;
|
||||
|
||||
@Input()
|
||||
contextMenuActions: boolean = false;
|
||||
creationMenuActions: boolean = true;
|
||||
|
||||
@Input()
|
||||
pageSize: number = DocumentList.DEFAULT_PAGE_SIZE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user