# Methods

## Public

|                                                                                   |                                                                                                                                                      |
| --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| [toArray()](https://tag.angular-package.dev/attribute/instance/methods/toarray)   | Returns attribute primitive value converted to the `array` where the first element is the name, and the second is the value.                         |
| [toObject()](https://tag.angular-package.dev/attribute/instance/methods/toobject) | Returns attribute primitive value converted to the `object` where the property key is the attribute name, and property value is the attribute value. |
| [toString()](https://tag.angular-package.dev/attribute/instance/methods/tostring) | Returns attribute, the primitive value of a specified [`Attribute`](https://tag.angular-package.dev/attribute/attribute) object.                     |
| [valueOf()](https://tag.angular-package.dev/attribute/instance/methods/valueof)   | Returns attribute, the primitive value of a specified [`Attribute`](https://tag.angular-package.dev/attribute/attribute) object.                     |
