mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ACS-6831] Refactor property panel feature to mitigate bugs and increase code quality * [ACS-6831] Introduce new interace for metadata panel * ACS-6831 Corrected tests * ACS-6831 Fixed unit tests * ACS-6831 Fixed unit tests * ACS-6831 Cleaning code * ACS-6831 Added tests * ACS-6831 Replaced fdescribe with describe * [ACS-6831] Use default properties enum, fix editing state * [ACS-6831] Expand correct section based on displayAspect property * [ACS-6831] Lint fix --------- Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
---
|
|
Title: Content Metadata Panel interface
|
|
Added: v6.7.0
|
|
Status: Active
|
|
Last reviewed: 2024-02-22
|
|
---
|
|
|
|
# [Content Metadata Panel interface](../../../lib/content-services/src/lib/content-metadata/interfaces/content-metadata-panel.interface.ts "Defined in content-metadata-panel.interface.ts")
|
|
|
|
Specifies required properties for metadata panel to be displayed in [ContentMetadataCardComponent](../components/content-metadata-card.component.md).
|
|
|
|
## Basic usage
|
|
|
|
```ts
|
|
export interface ContentMetadataPanel {
|
|
panelTitle: string;
|
|
expanded?: boolean;
|
|
}
|
|
```
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Default value | Description |
|
|
| ---- | ---- | ------------- | ----------- |
|
|
| panelTitle | `string` | | Title for the panel the will be displayed in expansion panel header. |
|
|
| expanded | `boolean` | | Specifies if given panel is expanded. |
|
|
|
|
## See also
|
|
|
|
- [ContentMetadataCardComponent](../components/content-metadata-card.component.md)
|
|
- [Dynamic Component](../../extensions/components/dynamic.component.md)
|
|
- [Content Metadata Custom panel interface](./content-metadata-custom-panel.interface.md)
|