arturadib / agility

Javascript MVC for the "write less, do more" programmer
http://agilityjs.com
MIT License
542 stars 70 forks source link

Agility event bubbling #85

Closed pindia closed 12 years ago

pindia commented 12 years ago

Allows Agility events to automatically bubble to their parent containers.

To avoid unintended issues, parent objects must explicitly declare that they wish to receive bubbled events by adding the child: prefix to their event binding.

Implemented by firing the child:<event> event on an object's parent whenever any event is fired on the object.

arturadib commented 12 years ago

Superb, thanks Pindi!