The accessor returns the attribute value of a specified object.
attribute.class.ts
public get value(): Value {
return this.#value;
}
Returns
The return value is the attribute value of a generic type variable .
Example usage
// Example usage.
import { Attribute } from '@angular-package/tag';
// Define a new Attribute.
const colorRed = new Attribute('color', 'red');
// Returns red of type "red".
colorRed.value;