value
Last updated
Attribute.prototype.valueThe get accessor returns the attribute value of a specified Attribute object.
public get value(): Value {
return this.#value;
}The return value is the attribute value of a generic type variable Value.
// 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;Last updated