moonstone/Scroller

Provides Moonstone-themed scroller components and behaviors.

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

Members

ScrollerComponent

A Moonstone-styled Scroller, Scrollable applied.

Usage:

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

Direction of the scroller.

  • Values: 'both', 'horizontal', 'vertical'.

Default: 'both'

ScrollerBaseComponent

A Moonstone-styled base component for Scroller. In most circumstances, you will want to use the SpotlightContainerDecorator and the Scrollable version, Scroller.

import {ScrollerBase} from '@enact/moonstone/Scroller';
ArrayBooleanFunctionModuleNumberObjectString