{ view:"button", label: 'Close', width: 100, align: 'right', click:function(){
$$("popup id").close();
},
}
currently I can close my popup cliking on “close” button which call popid and then close it.
But I wish to add an advanced functionality, adding also keyboard event to close my pop up. may you help me ?
I’ve ever looked at keyboard events but in my case I must have to developp two way closing my popup.
it’s seems difficult