Class: FlowTranslateComposer

FlowTranslateComposer

new FlowTranslateComposer()

Source:

Extends

Members

_analyzeMovement

Source:

_animationInterval

Source:

_closerIndex

Source:

_computePointedElement

Source:

_contentOffsetX

Source:

_contentOffsetY

Source:

_dispatchTranslate

Source:

_dispatchTranslateEnd

Source:

_dispatchTranslateStart

Source:

_end

Source:

_flow

Source:

_hasMomentum

Source:

_move

Source:

_pageX

Source:

_pageY

Source:

_pointerStartX

Source:

_pointerStartY

Source:

_previousScrollDelta

Source:

_scroll

Source:

_scrollEnd

Source:

_scrollStart

Source:

_start

Source:

_startPageX

Source:

_startPageY

Source:

_startScroll

Source:

_translateStride

Source:

_updateLinearScroll

Source:

_updateScroll

Source:

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

Source:

flow

Source:

frame

Source:

handleWheel

Source:

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
Source:

maxScroll

Source:

(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

Source:

(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

Source:

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

Source:

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: