Class type Goog.​Ui.​subMenu

class type subMenu = object..end

Inherits


method enterDocument : unit Js.meth
method exitDocument : unit Js.meth
method disposeInternal : unit Js.meth
method setHighlighted : bool Js.t -> unit Js.meth

Dismisses the submenu on a delay, with the result that the user needs less accuracy when moving to submenus. Alternate implementations could use geometry instead of a timer.

method showSubMenu : unit Js.meth

Show the submenu and ensure that all siblings are hidden.

method dismissSubMenu : unit Js.meth

Dismisses the menu and all further submenus.

method clearTimers : unit Js.meth

Clears the show and hide timers for the sub menu.

method setVisible : bool Js.t -> bool Js.t Js.opt -> bool Js.t Js.meth

Sets the menu item to be visible or invisible.

method handleKeyEvent : 
'a. (#Goog.Events.event as 'a) Js.t -> bool Js.t Js.meth

Handles a key event that is passed to the menu item from its parent because it is highlighted. If the right key is pressed the sub menu takes control and delegates further key events to its menu until it is dismissed OR the left key is pressed.

method handleMouseOver : 
'b. (#Goog.Events.event as 'b) Js.t -> unit Js.meth

Sets a timer to show the submenu and then dispatches an ENTER event to the parent menu.

method performActionInternal : 
'c. (#Goog.Events.event as 'c)