mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* ACS-6252 Added rules field to SearchCategory interface * ACS-6252 Hide aspects related with tags and categories if tags and categories features are disabled * ACS-6252 Return from services information if tags and categories are disabled * ACS-6252 Unit tests for changes in AspectListDialogComponent * ACS-6252 Unit tests for changes for AspectListComponent * ACS-6252 Unit tests for DialogAspectListService * ACS-6252 Unit tests for changes for TagService and CategoryService * ACS-6252 Updated documentation for changes * ACS-6252 Fixed imports formatting * ACS-6252 Fix after rebasing * ACS-6252 Addressed PR comments * ACS-6252 Excluded e2es
1.3 KiB
1.3 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)" [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 |