Module component.MouseEvent

Functions

MouseEvent:init (context, button, mouseLocation, keysHeld, time, clickCount) Initializes the MouseEvent object
MouseEvent:load (lib) Loads the MouseEvent class, automatically called when it's required by LoveUI


Functions

MouseEvent:init (context, button, mouseLocation, keysHeld, time, clickCount)
Initializes the MouseEvent object

Parameters

  • context: Context
  • button: number
  • mouseLocation: table
  • keysHeld: table
  • time: number
  • clickCount: number

Return value:

MouseEvent
MouseEvent:load (lib)
Loads the MouseEvent class, automatically called when it's required by LoveUI

Parameters

  • lib: table

Return value:

class

Valid XHTML 1.0!