getRootScope()
Reads a value from the shared reactive root scope.
Kind: global function
Returns: * - The stored value, or undefined if not set.
| Param | Type | Description |
|---|---|---|
| rootScopeProperty | string | The property name to read (supports dot notation). |
Example
const user = ARM.getRootScope('currentUser')
const isOpen = ARM.getRootScope('ui.sidebarOpen')Last updated on