Observes this field or form and runs a callback when a value changes.
This is useful for observing text fields while the user is typing.
The programmatic variant of this is the
The following would run a global
<form> <input type="query" up-observe="showSuggestions(value)"> </form>
The script given to
up-observe runs with the following context:
||The current value of the field|
||The form field|
||The form field as a jQuery collection|
The code to run when the field's value changes.
The number of miliseconds to wait after a change before the code is run.