mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-02 17:53:30 +00:00
* [ADF-3323] Fixed URL path to Typescript source files * [ADF-3323] Fixed and checked broken links caused by previous bug
1.4 KiB
1.4 KiB
Added, Status
| Added | Status |
|---|---|
| v2.0.0 | Active |
People Search component
Searches users/people.
Basic Usage
<adf-people-search></adf-people-search>
Class members
Properties
| Name | Type | Default value | Description |
|---|---|---|---|
| results | Observable<UserProcessModel[]> |
Parameters for displaying the list. |
Events
| Name | Type | Description |
|---|---|---|
| closeSearch | EventEmitter<Object> |
Emitted when the "close" button is clicked. |
| searchPeople | EventEmitter<any> |
Emitted when a search is performed with a new keyword. |
| success | EventEmitter<UserProcessModel> |
Emitted when a user is selected and the action button is clicked. |
Details
<adf-people-search
(searchPeople)="searchUser($event)"
(success)="involveUser($event)"
(closeSearch)="onCloseSearch()"
[results]="peopleSearch$">
<header-title>{{ 'TASK_DETAILS.LABELS.ADD_PEOPLE' | translate }}</header-title>
<action-button-label>{{ 'PEOPLE.ADD_USER' | translate }}</action-button-label>
</adf-people-search>