Skip to Content

getRootScope()

Reads a value from the shared reactive root scope.

Kind: global function
Returns: * - The stored value, or undefined if not set.

ParamTypeDescription
rootScopePropertystringThe property name to read (supports dot notation).

Example

const user = ARM.getRootScope('currentUser') const isOpen = ARM.getRootScope('ui.sidebarOpen')
Last updated on