spotlight/SpotlightRootDecorator

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

Members

SpotlightRootDecoratorHigher-Order Component

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

Example:

const App = SpotlightRootDecorator(ApplicationView);
import SpotlightRootDecorator from '@enact/spotlight/SpotlightRootDecorator';
Configuration
noAutoFocus
Boolean

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

Default: false
ArrayBooleanFunctionModuleNumberObjectString