[ACA-3614] Add a way to not show info drawer header (#5848)

This commit is contained in:
arditdomi
2020-07-09 10:51:16 +01:00
committed by GitHub
parent d7dc6d7230
commit 05a478e317
7 changed files with 70 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ The tabs are added using one or more `<adf-info-drawer-tab>` elements, which can
have any content you like:
```html
<adf-info-drawer title="Activities" (currentTab)="getActiveTab($event)">
<adf-info-drawer [showHeader]="true" title="Activities" (currentTab)="getActiveTab($event)">
<div info-drawer-buttons>
<mat-icon (click)="close()">clear</mat-icon>
</div>
@@ -51,6 +51,7 @@ have any content you like:
| ---- | ---- | ------------- | ----------- |
| selectedIndex | `number` | 0 | The selected index tab. |
| title | `string \| null` | null | The title of the info drawer (string or translation key). |
| showHeader | `boolean` | true | The visibility of the header. |
### Events