Grzegorz Jaśkowski 29757e4ee4
[MNT-24028] edit aspects dialog counter bug (#9539)
* [MNT-24028] fix dialog counter bug

* [MNT-24028] update docs

* [MNT-24028] remove fit
2024-04-12 09:25:15 +02:00

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

See also