get()

Returns the value referenced using property syntax. For example, cmp.get("v.attr") returns the value of the attr attribute.

Signature

get(String key)

Parameters

key
Type: String
The data key to look up on the component.