Displays a sidebar-style information panel with tabs.
There are three regions where you can add your own content using <div>
elements
with the following names (as with the Info drawer layout component):
The tabs are added using one or more <adf-info-drawer-tab>
elements, which can
have any content you like:
<adf-info-drawer [showHeader]="true" title="Activities" (currentTab)="getActiveTab($event)">
<div info-drawer-buttons>
<mat-icon (click)="close()">clear</mat-icon>
</div>
<adf-info-drawer-tab label="Activity">
<mycomponent1></mycomponent1>
<mycomponent2></mycomponent2>
</adf-info-drawer-tab>
<adf-info-drawer-tab label="Details">
<mycomponent3></mycomponent3>
</adf-info-drawer-tab>
</adf-info-drawer>
Name | Type | Default value | Description |
---|---|---|---|
selectedIndex | number | 0 | The selected index tab. |
showHeader | boolean | true | The visibility of the header. |
title | string | null | null | The title of the info drawer (string or translation key). |
Name | Type | Description |
---|---|---|
currentTab | EventEmitter <number> | Emitted when the currently active tab changes. |
This is a variant of the Info Drawer Layout component that displays information in tabs. You can use the Info drawer tab subcomponent to add tabs (as shown in the example) and the currentTab
output property to select the currently active tab.
© 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.