mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#484 add process actions for folder menus
This commit is contained in:
@@ -34,3 +34,17 @@ export class ContentActionModel {
|
||||
export interface ContentActionHandler {
|
||||
(obj: any, target?: any): any;
|
||||
}
|
||||
|
||||
export class DocumentActionModel extends ContentActionModel {
|
||||
constructor(json?: any) {
|
||||
super(json);
|
||||
this.target = 'document';
|
||||
}
|
||||
}
|
||||
|
||||
export class FolderActionModel extends ContentActionModel {
|
||||
constructor(json?: any) {
|
||||
super(json);
|
||||
this.target = 'folder';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user