UISystem

LittleJS User Interface Plugin

  • call new UISystemPlugin() to setup the UI system
  • Gamepad and keyboard navigation support
  • Nested Menus
  • Text
  • Buttons
  • Checkboxes
  • Images
  • Scrollbars
  • Video

Classes

UIButton
UICheckbox
UIObject
UIScrollbar
UISystemPlugin
UIText
UITile
UIVideo

Members

(static) uiDebug :number

Enable UI system debug drawing 0=off, 1=normal, 2=show invisible

Type:
  • number

(static) uiSystem :UISystemPlugin

Global UI system plugin object

Type:
  • UISystemPlugin

Methods

(static) uiSetDebug(debugMode)

Enable UI system debug drawing 0=off, 1=normal, 2=show invisible

Parameters:
NameTypeDescription
debugModenumber | boolean

Type Definitions

DragAndDropCallback(event)

Parameters:
NameTypeDescription
eventDragEvent

The drag event