mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1769] Added prop tables and fixed script (#2896)
* [ADF-1769] Added prop tables and fixed script * [ADF-1769] Corrected JSDoc formatting errors * [ADF-1769] Restored default column to prop tables
This commit is contained in:
committed by
Eugenio Romano
parent
8a4959d172
commit
900fd70d63
@@ -33,15 +33,19 @@ export class PeopleListComponent implements AfterViewInit, AfterContentInit {
|
||||
@ViewChild(DataTableComponent)
|
||||
peopleDataTable: DataTableComponent;
|
||||
|
||||
/** The array of user data used to populate the people list. */
|
||||
@Input()
|
||||
users: UserProcessModel[];
|
||||
|
||||
/** Toggles whether or not actions should be visible, i.e. the 'Three-Dots' menu. */
|
||||
@Input()
|
||||
actions: boolean = false;
|
||||
|
||||
/** Emitted when the user clicks a row in the people list. */
|
||||
@Output()
|
||||
clickRow: EventEmitter<UserProcessModel> = new EventEmitter<UserProcessModel>();
|
||||
|
||||
/** Emitted when the user clicks in the 'Three Dots' drop down menu for a row. */
|
||||
@Output()
|
||||
clickAction: EventEmitter<UserEventModel> = new EventEmitter<UserEventModel>();
|
||||
|
||||
|
@@ -30,12 +30,15 @@ import { PeopleSearchComponent } from '../people-search/people-search.component'
|
||||
})
|
||||
export class PeopleComponent implements OnInit, AfterViewInit {
|
||||
|
||||
/** The array of User objects to display. */
|
||||
@Input()
|
||||
people: UserProcessModel[] = [];
|
||||
|
||||
/** The numeric ID of the task. */
|
||||
@Input()
|
||||
taskId: string = '';
|
||||
|
||||
/** Should the data be read-only? */
|
||||
@Input()
|
||||
readOnly: boolean = false;
|
||||
|
||||
|
Reference in New Issue
Block a user