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
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Public Methods
Method | Defined By | ||
---|---|---|---|
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
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.
Thu Dec 4 2014, 05:50 PM -08:00