constructor new Form.Element.Observer
new Form.Element.Observer(element, frequency, callback)
-
element
(String
|Element
) – The form element to watch. Can be an element instance or an ID. -
frequency
(Number
) – The frequency, in seconds — e.g., 0.33 to check for changes every third of a second. -
callback
(Function
) – The callback to trigger when the value changes.
Creates a Form.Element.Observer
.