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.
A small, reusable piece of code that that returns an element to render.
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.
Describes what you want to see on the screen, such as a heading DOM element with some text:
<h1>I'm an element!</h1>.
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.
A higher-order component provides reusable logic that can be applied to other components.
An acronym for ‘higher-order component’.
i18n is an abbreviation for ‘internationalization’ where the middle 18 letters are replaced with
18. Clever, no?
A kind is a component constructor created using the
@enact/core/kind factory method.
The arrangement of components on a page or view. The
@enact/ui/Layout module provides a collection of components for managing layout.
An acronym for ‘left to right’ describing locale characteristics.
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.
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).
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.
Data that is associated with a component that changes over time. A component manages its own state.