Skip to content
Snippets Groups Projects
Commit e4eee7ce authored by Kristof De Langhe's avatar Kristof De Langhe
Browse files

56434: Docs for all item-page-metadata-field, related-entities, item-page and...

56434: Docs for all item-page-metadata-field, related-entities, item-page and metadata-values componens
parent 4d248028
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,9 @@ import { Component, Input } from '@angular/core';
})
export class MetadataFieldWrapperComponent {
/**
* The label (title) for the content
*/
@Input() label: string;
}
......@@ -16,11 +16,24 @@ import { MetadataValuesComponent } from '../metadata-values/metadata-values.comp
})
export class MetadataUriValuesComponent extends MetadataValuesComponent {
/**
* Optional text to replace the links with
* If undefined, the metadata value (uri) is displayed
*/
@Input() linktext: any;
/**
* The metadata values to display
*/
@Input() values: any;
/**
* The seperator used to split the metadata values (can contain HTML)
*/
@Input() separator: string;
/**
* The label for this iteration of metadata values
*/
@Input() label: string;
}
......@@ -12,10 +12,19 @@ import { Metadatum } from '../../../core/shared/metadatum.model';
})
export class MetadataValuesComponent {
/**
* The metadata values to display
*/
@Input() values: Metadatum[];
/**
* The seperator used to split the metadata values (can contain HTML)
*/
@Input() separator: string;
/**
* The label for this iteration of metadata values
*/
@Input() label: string;
}
......@@ -13,6 +13,9 @@ import { Item } from '../../../../core/shared/item.model';
})
export class ItemPageFieldComponent {
/**
* The item to display metadata for
*/
@Input() item: Item;
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment