Document.addEventListener in titanium
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Is it possible to add an event listener to the document in titanium?
example:
example:
- Code: Select all
document.addEventListener("keydown", function(event){
if(event.ctrlKey && event.key == "F"){
//do stuff
}
})