onEnter

fires when the Enter key has been pressed

void onEnter(Event ev);
evEventkeydown event object

Example

view.attachEvent("onEnter",function(ev){
    // your logic here
});

Back to top