Document.addEventListener in titanium

Is it possible to add an event listener to the document in titanium?
example:

  document.addEventListener("keydown", function(event){
     if(event.ctrlKey && event.key == "F"){
              //do stuff
     } 
  })

You could try either the svyKeyListener ( Home · Servoy/svyKeyListener Wiki · GitHub ) in the Package Manager
or, ```
plugins.window.createShortcut