spotlight/SpotlightRootDecorator

import SpotlightRootDecorator from '@enact/spotlight/SpotlightRootDecorator';

Members

SpotlightRootDecorator

Constructs a Higher-order Component that initializes and enables Spotlight 5-way navigation within an application.

Example:

const App = SpotlightRootDecorator(ApplicationView);
Configuration
noAutoFocus
Boolean

When true, the contents of the component will not receive spotlight focus after being rendered.

Default: false
ArrayBooleanFunctionModuleNumberObjectString