Class: ClickManager

ClickManager

ClickManager handles hover and click events. It registers listeners for mousedown, mouseup, mousemove, mouseout, mouseover, touchstart, touchend, touchendoutside, touchmove, rightup, rightdown, rightupoutside events.

new ClickManager (target, includeHover, rightMouseButton, doubleClick)

Name Type Default Description
target PUXI.Widget | PUXI.Button
includeHover boolean false optional

enable hover (mouseover, mouseout) listeners

rightMouseButton boolean false optional

use right mouse clicks

doubleClick boolean false optional

fire double clicks

Extends

Methods

getTarget ()Widget inherited overrides

Returns:
Type Description
Widget

startEvent (includeHover, rightMouseButton, doubleClick)

Name Type Description
includeHover boolean optional
rightMouseButton boolean optional
doubleClick boolean optional

stopEvent ()