40416: more tests and docs

This commit is contained in:
Lotte Hofstede
2017-05-23 10:49:57 +02:00
parent 6aff818dcd
commit b262e066cf
9 changed files with 47 additions and 5 deletions

View File

@@ -1,6 +1,14 @@
import { Component, Input } from '@angular/core';
import { MetadataValuesComponent } from "../metadata-values/metadata-values.component";
/**
* This component renders the configured 'values' into the ds-metadata-field-wrapper component as a link.
* It puts the given 'separator' between each two values
* and creates an 'a' tag for each value,
* using the 'linktext' as it's value (if it exists)
* and using the values as the 'href' attribute (and as value of the tag when no 'linktext' is defined)
*/
@Component({
selector: 'ds-metadata-uri-values',
styleUrls: ['./metadata-uri-values.component.css'],