Singleton
caplin.element.handler

ImagePressHandler

The class has been deprecated and may be removed in future releases.

Constructor Summary

Attributes Name and Description
caplin.element.handler.ImagePressHandler()

Applies the specified numeric value as a negative "top" when the control is pressed by the user.

Methods inherited from class caplin.element.Handler:
initialise

Constructor Detail

caplin.element.handler.ImagePressHandler()

Applies the specified numeric value as a negative "top" when the control is pressed by the user. The events that will trigger the setting of the value are "mousedown" which uses the control attribute value "top-mousedown" and "mouseup" which uses the attribute value "top-mouseover".

Deprecated
supports adding a class attribute in the template, which allows active styling via CSS, negating the need for this handler.