0

Is there a way to raise event where some variable is changed?

Ilian
  • 267
  • 1
  • 2
  • 13
  • 1
    duplicate: http://stackoverflow.com/questions/1759987/detect-variable-change-in-javascript – rahul Mar 05 '10 at 11:46

1 Answers1

0

You can create an observer for that variable that will be called whenever an action is made, and it will raise a specific event for that variable.

Marcos Placona
  • 20,531
  • 11
  • 62
  • 92