onEnter

fires when the Enter key has been pressed

void onEnter(Event ev){ ... };

Parameters

evEventkeydown event object

Example

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

Back to top