attribute
Attribute.prototype.attribute
Attribute.prototype.attributepublic get attribute(): `${Name}="${Value}"` {
return this.valueOf();
}Returns
Example usage
// Example usage.
import { Attribute } from '@angular-package/tag';
// Define a new Attribute.
const colorRed = new Attribute('color', 'red');
// Returns color="red" of type "color=\"red\"".
colorRed.attribute;Last updated