Last updated 3 years ago
Was this helpful?
Attribute.prototype.toString()
Returns attribute, the primitive value of a specified object.
public toString(): `${Name}="${Value}"` { return this.valueOf(); }
The return value is the attribute of generic type variables and on the template ${Name}="${Value}".
${Name}="${Value}"
// Example usage. import { Attribute } from '@angular-package/tag';
Attribute
Name
Value