scroll.angle < number>

Current scrolling angle (in degrees). The scrolling angle is the inverse of the direction of the drag action: when dragging downwards, you're effectively scrolling upwards. (Read-only)
译:当前滚动角度(度)。滚动角是拖动操作方向的逆:当拖动向下时,可以有效地向上滚动。(只读)

scroll = new ScrollComponent

# On scroll, print the angle 
scroll.on Events.Scroll, ->
    print scroll.angle

results matching ""

    No results matching ""