ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
spark.components 

ScrollSnappingMode  - AS3 Flex

Packagespark.components
Classpublic final class ScrollSnappingMode
InheritanceScrollSnappingMode Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 4.6
Runtime Versions: AIR 3

The ScrollSnappingMode class defines the enumeration values for the scrollSnappingMode property of the List and Scroller classes.

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined 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.