Developing Secure Code
Testing Components
createComponent()
createComponents()
enqueueAction()
error()
get()
getCallback()
getComponent()
getReference()
getRoot()
getToken()
log()
reportError()
run()
set()
warning()
Previous PDF Versions
Gets the root component or application. For example, $A.getRoot().get("v.attrName") returns the value of the attrName attribute from the root component.
getRoot()