Class TopBarTouchEL

Touchstart, touchmove, touchend and touchcancel event listener for the top bar

Source : file dialogs/baseDialog/TopBarTouchEL.js at line 33

Constructor

new TopBarTouchEL ( mover )

The constructor

Source : file dialogs/baseDialog/TopBarTouchEL.js at line 54

Parameters

Name Type Description
mover BaseDialogMover or DockableBaseDialogMover

A reference to the mover object of the dialog

Public methods

handleEvent ( touchEvent )

Handle the touch move or touch end event on the top bar

Source : file dialogs/baseDialog/TopBarTouchEL.js at line 65

Parameters

Name Type Description
touchEvent Event

The event to handle

Private properties

#isClickEvent : Boolean

A flag to detect a click event directly followed by a touchstart and touchend events on touch devices

Source : file dialogs/baseDialog/TopBarTouchEL.js at line 47

#mover : BaseDialogMover or DockableBaseDialogMover

A reference to the mover object of the dialog

Source : file dialogs/baseDialog/TopBarTouchEL.js at line 40