mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3614] Add a way to not show info drawer header (#5848)
This commit is contained in:
@@ -23,7 +23,7 @@ with the following names:
|
||||
- info-drawer-content
|
||||
|
||||
```html
|
||||
<adf-info-drawer-layout>
|
||||
<adf-info-drawer-layout [showHeader]="true">
|
||||
<div info-drawer-title>File info</div>
|
||||
|
||||
<div info-drawer-buttons>
|
||||
@@ -37,6 +37,13 @@ with the following names:
|
||||
</div>
|
||||
</adf-info-drawer-layout>
|
||||
```
|
||||
## Class members
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
| ---- | ---- | ------------- | ----------- |
|
||||
| showHeader | `boolean` | true | The visibility of the header. |
|
||||
|
||||
## Details
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user