Function: useGlobalSelector
▸ useGlobalSelector<T
>(selector
): T
| undefined
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | GlobalSelectorFunction |
Returns
T
| undefined
Defined in
onekijs/packages/onekijs-framework/src/app/useGlobalSelector.ts:4
▸ useGlobalSelector<T
>(selector
, defaultValue
): T
| undefined
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | GlobalSelectorFunction |
defaultValue | undefined |
Returns
T
| undefined
Defined in
onekijs/packages/onekijs-framework/src/app/useGlobalSelector.ts:5
▸ useGlobalSelector<T
>(selector
, defaultValue
): T
| null
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | GlobalSelectorFunction |
defaultValue | null |
Returns
T
| null
Defined in
onekijs/packages/onekijs-framework/src/app/useGlobalSelector.ts:6
▸ useGlobalSelector<T
>(selector
, defaultValue
): T
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | GlobalSelectorFunction |
defaultValue | T |
Returns
T
Defined in
onekijs/packages/onekijs-framework/src/app/useGlobalSelector.ts:7