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 UI Palette

From Leeroopedia
Revision as of 11:50, 16 February 2026 by Admin (talk | contribs) (Auto-imported from implementations/SeleniumHQ_Selenium_Closure_UI_Palette.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Sources
Domains JavaScript_Atoms, Vendored_Library
Last Updated 2026-02-12 00:00 GMT

Overview

Vendored Google Closure Library UI module providing a grid-based palette control for keyboard and mouse selection, used by Selenium JavaScript atoms.

Description

goog.ui.Palette is a vendored copy of the Google Closure Library module. It extends `goog.ui.Control` to provide a grid of DOM nodes that can be highlighted or selected via keyboard or mouse. It uses a `goog.ui.SelectionModel` for tracking selection state and fires ACTION events on selection. It serves as the base class for components like color palettes or emoticon pickers. Selenium uses this for its JavaScript atom infrastructure.

Usage

This module is consumed internally by Selenium's JavaScript atoms build system. Not imported directly by end users.

Code Reference

Source Location

Key Exports

goog.provide('goog.ui.Palette');

Related Pages

Page Connections

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