layer.draggable.momentumOptions < object>

Options for momentum simulation on DragEnd.
译:选择模拟DragEnd的动量

layerA = new Layer
layerA.draggable.enabled = true

# Define friction and tolerance of momentum 
layerA.draggable.momentumOptions =
    friction: 2.1
    tolerance: 0.1

results matching ""

    No results matching ""