Implementation:SeleniumHQ Selenium Closure AbstractDragDrop
| Knowledge Sources | |
|---|---|
| Domains | JavaScript_Atoms, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored Google Closure Library module providing an abstract base class for drag and drop functionality, used by Selenium JavaScript atoms.
Description
goog.fx.AbstractDragDrop is a vendored copy of the Google Closure Library module. It provides an abstract class with reusable functionality for implementing drag and drop behavior including support classes and events. It supports client-defined subtargeting functions for finer granularity drop areas, and can be made aware of scrollable containers that contain drop targets. The module also provides goog.fx.DragDropEvent and goog.fx.DragDropItem classes. Selenium uses this as part of its JavaScript atom infrastructure for browser automation commands.
Usage
This module is consumed internally by Selenium's JavaScript atoms build system. It is not imported directly by end users.
Code Reference
Source Location
- Repository: SeleniumHQ_Selenium
- File: third_party/closure/goog/fx/abstractdragdrop.js
- Lines: 1-1635
Key Exports
goog.provide('goog.fx.AbstractDragDrop');
goog.provide('goog.fx.AbstractDragDrop.EventType');
goog.provide('goog.fx.DragDropEvent');
goog.provide('goog.fx.DragDropItem');
// Constructor: goog.fx.AbstractDragDrop()
// Extends: goog.events.EventTarget
// Abstract class for drag-and-drop with subtargeting and scrollable container support.