canjs / can-util

Essential utilities used by lots of CanJS's projects.
https://canjs.com/doc/can-util.html
MIT License
10 stars 8 forks source link

Binding a method to focused doesn't work #389

Open imaustink opened 6 years ago

imaustink commented 6 years ago

Neither syntax for binding the focused event work with method calls using either call expressions or helper expressions:

<input focused:from="method()">
<input {$focused}="method()">
<input focused:from="method">
<input {$focused}="method">