ai / evil-blocks

Tiny framework for web pages to split your app to separated blocks
MIT License
131 stars 10 forks source link

Events bubbling #37

Closed bsboris closed 9 years ago

bsboris commented 9 years ago

Hi, Andrei,

Thank you for this awesome tool!

I have a problem with event bubbling. If block have global event on it (like "on click": ->), the event only fires when click occurs on the literal block element (div@@block) and doesn't fire when I click any inner elements (div@@block > span). It looks like #27 addressed this issue, but I couldn't find merge commit. Is there any workaround for this issue?

ai commented 9 years ago

Global events are only for cross-block communications