toString()
Attribute.prototype.toString()
Attribute.prototype.toString()
Returns attribute, the primitive value of a specified Attribute
object.
public toString(): `${Name}="${Value}"` {
return this.valueOf();
}
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?