Presentational component to display About information as a set of collapsible panels.
<adf-about>
<adf-about-panel [label]="'Panel 1'">
<ng-template>
<your-components></your-components>
</ng-template>
</adf-about-panel>
<adf-about-panel [label]="'Panel 2'">
<ng-template>
<your-components></your-components>
</ng-template>
</adf-about-panel>
</adf-about>
You can wire each panel with the *ngIf
conditions:
<adf-about>
<adf-about-panel *ngIf="devMode" [label]="'Panel 1'">
<ng-template>
<your-components></your-components>
</ng-template>
</adf-about-panel>
</adf-about>
Where devMode
is an example of an input property exposed by your component.
Observables are also supported:
<adf-about>
<adf-about-panel *ngIf="extensions$ | async as extensions" [label]="'ABOUT.PLUGINS.TITLE' | translate">
<ng-template>
<adf-about-extension-list [data]="extensions"></adf-about-extension-list>
</ng-template>
</adf-about-panel>
</adf-about>
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.