Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:SeleniumHQ Selenium Closure Dragger

From Leeroopedia
Knowledge Sources
Domains JavaScript_Atoms, Vendored_Library
Last Updated 2026-02-12 00:00 GMT

Overview

Vendored Google Closure Library module providing drag utilities with extensible functionality for drag and drop behaviour, used by Selenium JavaScript atoms.

Description

goog.fx.Dragger is a vendored copy of the Google Closure Library module. It provides a class that allows mouse or touch-based dragging (moving) of an element, with an optional handle to control the drag and optional limits defining the drag region. The module also provides goog.fx.DragEvent and goog.fx.Dragger.EventType. It extends goog.events.EventTarget and uses goog.events.EventHandler for internal event management. 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

Key Exports

goog.provide('goog.fx.DragEvent');
goog.provide('goog.fx.Dragger');
goog.provide('goog.fx.Dragger.EventType');

// Constructor: goog.fx.Dragger(target, opt_handle, opt_limits)
// Extends: goog.events.EventTarget
// Enables mouse or touch-based dragging of an element within optional limits.

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment