Newer Version Available

This content describes an older version of this product. View Latest

getRoot()

Gets the root component or application. For example, $A.getRoot().get("v.attrName") returns the value of the attrName attribute from the root component.

Signature

getRoot()