adf-version-list component event

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member

adf-version-list component event

Hello, 

I want to perform some action on restore event of adf-version-list component. I have used that component like this.

took reference from https://www.alfresco.com/abn/adf/docs/content-services/components/version-list.component/

but unable to call that restored event of adf-version-list component.

If any one has used this componet than please know me what I have did wrong.

Thanks in advance.

// version-manager-dialog-adapter.component.html
 <adf-version-manager [node]="contentEntry" (uploadSuccess)="uploadSucess($event)" 
     (uploadError)="uploadError($event)">
 <adf-version-list [node]="contentEntry" (restored)="onRestoredVersion()"></adf-version-list>
</adf-version-manager>

// version-manager-dialog-adapter.component.ts
 onRestoredVersion() {
        console.log('version restored!!');
    }

 

Regards,
Prachi Shah| ContCentric