Class: MoveHelper

Kekule.Widget. MoveHelper

new MoveHelper()

An helper class tp make an element or widget movable.
Properties:
Name Type Description
enabled Bool
target Object Target HTML element or widget to be moved. Note, the target element must be an absiolute positioned one.
gripper Object When mouse down or touch down on gripper element/widget, movement begins. If this property is not set, click on target itself will start the moving.
isMoving Bool
cssPropX String CSS property name to set position on X axis, default is 'left'.
cssPropY String CSS property name to set position on Y axis, default is 'top'.
movingCursor String Cursor changed to this one when the moving starts.
movingCursorDelay Int When mouse down, after this delayed millisecond, cursor will be changed to moving one.
Source:

Extends

  • ObjectEx

Methods

delaySetMoveCursor()

Source:

Kekule.Widget. MoveHelper