Highslide JS API Reference

Close Move
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam dapibus leo quis nisl. In lectus. Vivamus consectetuer pede in nisl. Mauris cursus pretium mauris. Suspendisse condimentum mi ac tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec sed enim. Ut vel ipsum. Cras consequat velit et justo. Donec mollis, mi at tincidunt vehicula, nisl mi luctus risus, quis scelerisque arcu nibh ac nisi. Sed risus. Curabitur urna. Aliquam vitae nisl. Quisque imperdiet semper justo. Pellentesque nonummy pretium tellus.
Resize

Object: hs

Variables

Functions

Events

Object: hs.Expander

Variables

Functions

Events



hs.Expander.prototype.onDrop

Fires after move or resize.
boolean hs.Expander.prototype.onDrag ( hs.Expander sender, object e )
While hs.Expander.prototype.onDrag fires repeatedly during the drag operation, onDrop fires after the operation. The event arguments are the same, so you can inspect the arguments in the example under hs.Expander.prototype.onDrag.

Details

Requires events, dragging
Type event
Returns boolean

Parameters

sender
The sender object in this context is the hs.Expander instance.
e
If e.type is "move" or "image", this is a moving action. Else e.type is "resize". The position of the popup can be determined by using other e properties as shown below. e.dY and e.dX are the pixel values the mouse has been moved after the drag action started.

See also

New, Edit