onBeforeCursorChange

fires before the cursor changes its position.

void onBeforeCursorChange(id){ ... };

Parameters

idstring the id of an item that the cursor is set on (the old cursor position).

Example

some.attachEvent("onBeforeCursorChange", function(id){
    //... some code here ... 
});

See also
Back to top