onMouseMove

attaches a mousemove behavior for component items with the specified CSS class.

EventHash onMouseMove;

Example

webix.ui({
    view:"list",
    template:"#value# <div class='webix_remove_upload'>Del</div>"
    onMouseMove:{
        "webix_remove_upload":function(ev, id){
              webix.message("Danger area");
        }
    }
});

Details
  • "onMouseMove" behavior is defined for component items rather than for the whole component
  • Use the "onMouseMove" handler to attach function to item clicking regardless of the CSS class;
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix lightweight js framework and page of javascript tree grid product.