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