layer.draggable.isMoving < boolean>

Whether the layer is currently moving, either by dragging or by a momentum/bounce animation. (Read-only)
译:层是否正在移动,通过拖动或动量/弹跳动画。 (只读)

layerA = new Layer
layerA.draggable.enabled = true

# Check if the layer is moving 
layerA.on Events.DragMove, ->
    print layerA.draggable.isMoving

results matching ""

    No results matching ""