ui/Scroller

Unstyled scroller components and behaviors to be customized by a theme or application.

import Scroller from '@enact/ui/Scroller';

Members

ScrollerComponent

An unstyled scroller.

Example:

<Scroller>Scroll me.</Scroller>
import Scroller from '@enact/ui/Scroller';
Properties
direction
String

Direction of the scroller.

Valid values are:

  • 'both',

  • 'horizontal', and

  • 'vertical'.

Default: 'both'

ScrollerBaseComponent

An unstyled base scroller component.

In most circumstances, you will want to use the Scrollable version.

import {ScrollerBase} from '@enact/ui/Scroller';
Properties
direction
String

Direction of the scroller.

Valid values are:

  • 'both',

  • 'horizontal', and

  • 'vertical'.

Default: 'both'
ArrayBooleanFunctionModuleNumberObjectString