Last updated 3 years ago
Was this helpful?
Attribute.prototype.valueOf()
Returns attribute, the primitive value of a specified object.
public valueOf(): `${Name}="${Value}"` { return super.valueOf() as any; }
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