setInterceptDrags method

Future<void> setInterceptDrags(
  1. bool enabled
)

Prevents default drag and drop behavior and instead emits Input.dragIntercepted events. Drag and drop behavior can be directly controlled via Input.dispatchDragEvent.

Implementation

Future<void> setInterceptDrags(bool enabled) async {
  await _client.send('Input.setInterceptDrags', {
    'enabled': enabled,
  });
}