mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
* [MNT-24028] fix dialog counter bug * [MNT-24028] update docs * [MNT-24028] remove fit
1.6 KiB
1.6 KiB
Title, Added, Status, Last reviewed
| Title | Added | Status | Last reviewed |
|---|---|---|---|
| Aspect List component | v2.0.0 | Active | 2021-01-20 |
Aspect List component
This component will show in an expandable row list with checkboxes all the aspect of a node, if a node id is given, or otherwise a complete list. The aspect are filtered via the app.config.json in this way :
"aspect-visible": {
"default" : ["as:aspectThatWillBeShowedIfPresent"]
}
Basic Usage
<adf-aspect-list (valueChanged)="onValueChanged($event)" (updateCounter)="onUpdateCounter($event)" [nodeId]="nodeId">
</adf-aspect-list>
Class members
Properties
| Name | Type | Default value | Description |
|---|---|---|---|
| nodeId | string |
"" | Node Id of the node that we want to update |
| excludedAspects | string[] |
undefined | List of aspects' ids which should not be displayed. |
Events
| Name | Type | Description |
|---|---|---|
| valueChanged | EventEmitter<string[]> |
Emitted every time the user select a new aspect |
| updateCounter | EventEmitter<number> |
Emitted every time the number of selected aspects changes |