reboundjs / rebound

Automatic data binding for backbone using HTMLBars.
MIT License
43 stars 4 forks source link

Event binding directly on Components #49

Open amiller-gh opened 9 years ago

amiller-gh commented 9 years ago

Down the road HTMLBars will support adding helpers directly to component tags: <custom-component {{helper}}></custom-component> until then we need to be able to bind events to components. Ember uses custom a on-event attribute that would work for us. Components should also have a .trigger property to trigger custom events.