abak-east / bwa-u4-feature-request

0 stars 0 forks source link

Technical design #3

Open ghost opened 6 years ago

ghost commented 6 years ago

So basically

  • Define a second event listener and handler
  • Listen to every key press
  • If the key pressed is "enter", initiate the search as usual

Is this the best way?

Did you consider or research any other approaches to this problem that wouldn't require a second event listener and capturing every single key press just to basically call the same original search method?