jacomyal / domino.js

[deprecated] A JavaScript cascading controller for fast interactive Web interfaces prototyping.
https://jacomyal.github.io/domino.js
MIT License
54 stars 7 forks source link

Hacks based on properties related conditions instead of events #12

Closed jacomyal closed 9 years ago

jacomyal commented 11 years ago

Plugging a hack on a condition (like "when property COUNT goes over 42" or something) would just be awesome.

jacomyal commented 9 years ago

This kind of feature will not be directly implemented in the core in the v2 (check the reboot-proposal branch).

However, since "hacks" are now just event bindings and so available after instanciation, it becomes pretty easy to implement this kind of specific features as plugins by extending domino's prototype.