/** * @license * Copyright The Closure Library Authors. * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview A base menu class that supports key and mouse events. The menu * can be bound to an existing HTML structure or can generate its own DOM. * * To decorate, the menu should be bound to an element containing children * with the classname 'goog-menuitem'. HRs will be classed as separators. * * Decorate Example: * *