cassowary.js icon indicating copy to clipboard operation
cassowary.js copied to clipboard

How to know when a values changes or solve is done?

Open RedHatter opened this issue 7 years ago • 0 comments

I've been messing with the library and it looks like it could be very useful but I'm slightly confused on how to use it.

Once I set all the constraints, how do I get notified when a value has changed? Or at least when the solver is done since all the values would be fully updated?

Do I simply have to poll them for changes? I would expect some type of listener or event interface.

RedHatter avatar Mar 11 '17 20:03 RedHatter