Cocos Creator
Editor.UI (Focus Module)
Methods
Editor.UI.focus (element)
element
HTMLElement
Focus on specific element
.
Editor.UI.focusParent (element)
element
HTMLElement
Focus on the parent of element
.
Editor.UI.focusNext ()
Focus on the next element.
Editor.UI.focusPrev ()
Focus on the previous element.
Properties
Editor.UI.focusedElement
Current focused element.
Editor.UI.focusedPanelFrame
Current focused panel frame.
Editor.UI.lastFocusedElement
The last focused element.
Editor.UI.lastFocusedPanelFrame
The last focused panel frame.