Example $root Object

The 'color' data property can be reached and manipulated directly from a child component, even far down the component tree structure, by the use of the $root object.

Child Component

Grand Child Component

Click the button to toggle the color of the P tag in the root component.