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