dart - How to listen to keyUp event in capture mode? -


i looking @ dart api find way listen keyup event using capture mode. new stream system there's no parameter specify capture anymore:

document.body.onkeyup.listen(callback); // where's old "usecapture" parameter? 

to achieve same thing streams, here's example:

element.keyupevent.fortarget(document.body, usecapture: true).listen((e) {   // stuff.   print('here go'); }); 

the method used above, creates stream capture mode. stream interface (listen() method) quite generic, , can't have specific functionality looking for.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -