5-way mode

One of two @enact/spotlight modes. In 5-way mode, the focused element can be changed with direction keys and an element will always have focus.

See also


A small, reusable piece of code that that returns an element to render.

See also

computed property

A feature of components created with @enact/core/kind. Computed properties are functions that receive component props (but not other computed properties) and return a value. These are then available in the props at render time.

See also


See also


Describes what you want to see on the screen, such as a heading DOM element with some text: <h1>I'm an element!</h1>.

See also


React (and therefore Enact) uses SyntheticEvents to provide a cross-browser wrapper around native browser events. The @enact/core/handle module simplifies writing consistent handlers for components created with kind() or as ES6 classes where the event properties can be sourced differently.

See also

higher-order component

A higher-order component provides reusable logic that can be applied to other components.

See also


An acronym for ‘higher-order component’.

See also


i18n is an abbreviation for ‘internationalization’ where the middle 18 letters are replaced with 18. Clever, no?

See also


A JavaScript syntax extension that enables mixing JavaScript code with HTML/XML-like tags.

See also


A kind is a component constructor created using the @enact/core/kind factory method.

See also


The arrangement of components on a page or view. The @enact/ui/Layout module provides a collection of components for managing layout.

See also


An acronym for ‘left to right’ describing locale characteristics.


See also

pointer mode

One of two @enact/spotlight modes. In pointer mode, an element will be highlight only if it is spottable and the pointer is hovering over it.

See also


Methods and properties marked as private should not be used by developers. They may be changed or removed without notice and their particular implementations should not be relied upon.


Properties that are passed to a component from its parent component.


An acronym for ‘right to left’ describing locale characteristics.


Spotlight is an extensible utility that enables users to navigate Enact applications using a keyboard or television remote control. Focus is managed with a pointing device (pointer mode) or via keyboard/remote control keys (5-way mode).

See also


As a concept, ‘spottable’ refers to an element that is capable of receiving focus. As a higher-order component (HOC), enact/spotlight/Spottable applies spottable behavior to a component.

See also


Data that is associated with a component that changes over time. A component manages its own state.

See also