... and callback method?
input_element.addEventListener("paste", self.hide, false);
input_element.addEventListener("keypress", self.hide, false);
input_element.addEventListener("drop", self.hide, false);
to a form similar to this -
input_element.addEventListener("paste keypress drop", self.hide, false);
I checked MDN and the API does not support this form but is there perhaps another way?