Instance Property

attributes

The attributes associated with a view element.

Declaration

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

Discussion

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

See Also

Inspecting a View Element

var autoHighlightIdentifier: String?

A string identifying the element that is initially in focus.

var children: [TVViewElement]?

An array containing the child elements of the element currently being inspected.

var isDisabled: Bool

Boolean value indicating whether the current element being inspected is disabled.

var identifier: String

A string containing the unique identifier for an element.

var name: String

A string containing the element’s name.

var parent: TVViewElement?

The parent of the current node.

var style: TVViewElementStyle?

The style applied to an element.

var updateType: TVElementUpdateType

The value that describes any changes to the DOM tree after it has been reparsed.

enum TVElementUpdateType

Describes any changes to the DOM tree after it has been reparsed.