Skip to content

[F] scopeNavigationToNamespace

function scopeNavigationToNamespace<T>(
namespace,
listeners,
options): T

Scope the current navigation to the given namespace.

Type Parameters

Type Parameter
T extends object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object

Parameters

ParameterTypeDescription
namespaceNamespaceNamespace the traversal shouldn’t leave.
listenersTType listeners.
optionsNamespaceNavigationOptionsScope options

Returns

T

wrapped listeners that that can be used with navigateType