(Preview)
Package | spark.components |
Class | public final class ScrollSnappingMode |
Inheritance | ScrollSnappingMode Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.6 |
Runtime Versions: | AIR 3 |
scrollSnappingMode
property of the List and Scroller classes.
Related API Elements
Public Properties
Public Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
CENTER : String = "center" [static]
Elements are snapped to the center of the viewport. | ScrollSnappingMode | ||
LEADING_EDGE : String = "leadingEdge" [static]
Elements are snapped to the left (horizontal) or top (vertical)
edge of the viewport. | ScrollSnappingMode | ||
NONE : String = "none" [static]
Scroll snapping is off. | ScrollSnappingMode | ||
TRAILING_EDGE : String = "trailingEdge" [static]
Elements are snapped to the right (horizontal) or bottom (vertical)
edge of the viewport. | ScrollSnappingMode |
Constant Detail
CENTER | Constant |
public static const CENTER:String = "center"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.6 |
Runtime Versions: | AIR 3 |
Elements are snapped to the center of the viewport.
LEADING_EDGE | Constant |
public static const LEADING_EDGE:String = "leadingEdge"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.6 |
Runtime Versions: | AIR 3 |
Elements are snapped to the left (horizontal) or top (vertical) edge of the viewport.
NONE | Constant |
public static const NONE:String = "none"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.6 |
Runtime Versions: | AIR 3 |
Scroll snapping is off.
TRAILING_EDGE | Constant |
public static const TRAILING_EDGE:String = "trailingEdge"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.6 |
Runtime Versions: | AIR 3 |
Elements are snapped to the right (horizontal) or bottom (vertical) edge of the viewport.
Wed Nov 21 2018, 06:34 AM -08:00