alfresco-ng2-components/docs/select-apps-dialog.component.md
Andy Stark 441d1e648e [ADF-2201] Tidied Start Process docs (#2864)
* [ADF-2201] Tidied Start Process docs

* [ADF-2201] Removed file with probably incorrect name
2018-01-23 14:56:42 +00:00

30 lines
645 B
Markdown

# Select app Component
Show all available apps and return the selected app.
![select-apps-dialog](docassets/images/select-apps-dialog.png)
## Basic Usage
```ts
import { SelectAppsDialogComponent } from '@alfresco/adf-process-services';
constructor(private dialog: MatDialog) {
}
startSelectDialog(){
const dialogRef = this.dialog.open(SelectAppsDialogComponent, {
width: '630px',
panelClass: 'adf-version-manager-dialog'
});
dialogRef.afterClosed().subscribe(selectedProcess => {
this.processId = selectedProcess.id;
});
}
```
## See Also
- [Start process component](start-process.component.md)