mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [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
24 lines
748 B
Markdown
24 lines
748 B
Markdown
---
|
|
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. |
|