Shopify/batman — pull request #269 by omo (2011-12-05 16:36:29+00:00)
Title: Introduced @data-focuson-x attribute.

Hi,
Could you take a look at this small new feature request?

This change aims to provide a way to focus() the element using Batman's declarative markup.
But unlike other markup, using property binding is not the best way for invoking focus()
because it's more like an action or an event:
- It should allow to be triggered multiple times, even without any value changes.
- There is only one focused node, so it's not feasible to be synced with model value.

Note that SourceEventBinding could be a parallel class instead of a subclass of AbstractBinding.
But I hope that change in a separate commit, even if it' desirable.

Regards,