mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
31 lines
566 B
TypeScript
31 lines
566 B
TypeScript
import { Component, Input } from '@angular/core';
|
|
|
|
/**
|
|
* This component renders the configured 'values' into the ds-metadata-field-wrapper component.
|
|
* It puts the given 'separator' between each two values.
|
|
*/
|
|
|
|
@Component({
|
|
selector: 'ds-metadata-values',
|
|
styleUrls: ['./metadata-values.component.scss'],
|
|
templateUrl: './metadata-values.component.html'
|
|
})
|
|
export class MetadataValuesComponent {
|
|
|
|
@Input() values: any;
|
|
|
|
@Input() separator: string;
|
|
|
|
@Input() label: string;
|
|
|
|
constructor() {
|
|
this.universalInit();
|
|
|
|
}
|
|
|
|
universalInit() {
|
|
|
|
}
|
|
|
|
}
|