---
title: attributes
framework: tvmlkit
role: symbol
role_heading: Instance Property
path: tvmlkit/tvviewelement/attributes
---

# attributes

The attributes associated with a view element.

## Declaration

```swift
var attributes: [String : String]? { get }
```

## Discussion

Discussion All of the attributes are defined as key-value pairs.

## See Also

### Inspecting a View Element

- [autoHighlightIdentifier](tvmlkit/tvviewelement/autohighlightidentifier.md)
- [children](tvmlkit/tvviewelement/children.md)
- [isDisabled](tvmlkit/tvviewelement/isdisabled.md)
- [identifier](tvmlkit/tvviewelement/identifier.md)
- [name](tvmlkit/tvviewelement/name.md)
- [parent](tvmlkit/tvviewelement/parent.md)
- [style](tvmlkit/tvviewelement/style.md)
- [updateType](tvmlkit/tvviewelement/updatetype.md)
- [TVElementUpdateType](tvmlkit/tvelementupdatetype.md)
