New in 1.43.0 (BETA)

dataItemAttribute()

Returns the selected DataItemAttribute.

Returns

attributeDataItemAttribute if the DataScope has both a selected attribute and an item (single-item DataScope), otherwise null.

Remarks

DataItemAttribute is only returned if the DataScope has both a selected attribute and an item (a single-item DataScope). If an attribute is selected in a multi-item DataScope, then DataScope#attributeName returns a string, but DataScope#dataItemAttribute returns null.