mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-1137] Refactor delete process directive (#5317)
* [AAE-1137] Refactor delete process directive * [AAE-1137] Fix unit tests * [AAE-1137] Add can show directive output * [AAE-1137] Remove from demo-shell, update documentation * [AAE-1137] Refactor cancel process directive * [AAE-1137] documentation typo * [AAE-1137] Add unsubscription * [AAE-1137] Fix build errors * [AAE-1137] Remove unused declaration
This commit is contained in:
committed by
Maurizio Vitale
parent
aa12be15d4
commit
133a5c3df6
@@ -0,0 +1,23 @@
|
||||
---
|
||||
Title: Cancel Process Directive
|
||||
Added: v3.7.0
|
||||
Status: Experimental
|
||||
Last reviewed: 2019-12-09
|
||||
---
|
||||
|
||||
# [Cancel process directive](../../../lib/process-services-cloud/src/lib/process/directives/cancel-process.directive.ts "Defined in cancel-process.directive.ts")
|
||||
|
||||
Cancels a process
|
||||
|
||||
## Basic Usage
|
||||
|
||||
```html
|
||||
<button adf-cloud-cancel-process (success)="onProcessCancelled()" (error)="onCancelProcessError()">Cancel</button>
|
||||
```
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
| ---- | ---- | ----------- |
|
||||
| error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the process can not be cancelled. |
|
||||
| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the process is cancelled. |
|
Reference in New Issue
Block a user