new FlowTranslateComposer()
Extends
Members
_analyzeMovement
_animationInterval
_closerIndex
_computePointedElement
_contentOffsetX
_contentOffsetY
_dispatchTranslate
_dispatchTranslateEnd
_dispatchTranslateStart
_end
_flow
_hasMomentum
_move
_pageX
_pageY
_pointerStartX
_pointerStartY
_previousScrollDelta
_scroll
_scrollEnd
_scrollStart
_start
_startPageX
_startPageY
_startScroll
_translateStride
_updateLinearScroll
_updateScroll
allowFloats :boolean
Allow (@link translateX} and translateY to be floats?
Type:
- boolean
- Inherited From:
- Default Value:
- false
- Source:
axis :string
Which axis translation is restricted to.
Can be "vertical", "horizontal" or "both".
Type:
- string
- Inherited From:
- Default Value:
- "both"
- Source:
convertCssPixelsPropertyStringToNumber
flow
frame
handleWheel
hasMomentum :boolean
Whether to keep translating after the user has releases the cursor.
Type:
- boolean
- Inherited From:
- Default Value:
- true
- Source:
invertAxis :boolean
Invert direction of translation on both axes.
This inverts the effect of cursor motion on both axes. For example
if set to true moving the mouse up will increase the value of
translateY instead of decreasing it.
Depends on invertXAxis and invertYAxis.
Type:
- boolean
- Inherited From:
- Default Value:
- false
- Source:
invertXAxis :boolean
Invert direction of translation along the X axis.
This inverts the effect of left/right cursor motion on translateX.
Type:
- boolean
- Inherited From:
- Default Value:
- false
- Source:
invertYAxis :boolean
Invert direction of translation along the Y axis.
This inverts the effect of up/down cursor motion on translateX.
Type:
- boolean
- Inherited From:
- Default Value:
- false
- Source:
linearScrollingVector
A constant 2d vector used to transform a drag vector into a scroll vector
maxScroll
(nullable) maxTranslateX :number
The maximum value translateX can take. If set to null then
there is no maximum.
Type:
- number
- Inherited From:
- Default Value:
- null
- Source:
(nullable) maxTranslateY :number
The maximum value translateY can take. If set to null then
there is no maximum.
Type:
- number
- Inherited From:
- Default Value:
- null
- Source:
minScroll
(nullable) minTranslateX :number
The minimum value translateX can take. If set to null then
there is no minimum.
Type:
- number
- Inherited From:
- Default Value:
- null
- Source:
(nullable) minTranslateY :number
The minimum value translateY can take. If set to null then
there is no minimum.
Type:
- number
- Inherited From:
- Default Value:
- null
- Source:
pointerSpeedMultiplier :number
How many pixels to translate by for each pixel of cursor movement.
Type:
- number
- Inherited From:
- Default Value:
- 1
- Source:
scroll
startTranslateSpeed :number
How fast the cursor has to be moving before translating starts. Only
applied when another component has claimed the pointer.
Type:
- number
- Default Value:
- 500
- Source:
translateStride
translateX :number
Amount of translation in the X (left/right) direction. Can be inverted with
invertXAxis, and restricted to a range with
minTranslateX and maxTranslateX.
Type:
- number
- Inherited From:
- Default Value:
- 0
- Source:
translateY :number
Amount of translation in the Y (up/down) direction. Can be inverted with
invertYAxis, and restricted to a range with
minTranslateY and maxTranslateY.
Type:
- number
- Inherited From:
- Default Value:
- 0
- Source: