createKeyPressCaptureRegistry

Creates the tree-wide store of captured key presses that a root boundary shares with its descendants

Available since @roku-sdk/navigation 2.19.0

import { createKeyPressCaptureRegistry } from "@roku-sdk/navigation";
createKeyPressCaptureRegistry(): KeyPressCaptureRegistry

Deprecated.

Test hook that was never meant to be public. It will be removed from the public exports in the next major release.

Description

Creates the tree-wide store of captured key presses that a root boundary shares with its descendants.

Return values

An empty capture registry.


What’s Next

Did this page help you?