bind
Return a KVar that is tied to a property related to an element, which will update when an specified event fires on this element. This is a convenience wrapper around bind.
Parameters
Function that takes an element id and returns a JavaScript expression to access that element
The event to listen for that signifies this element has been updated
The initial value of the KVar
Return a KVar that is tied to a property related to an element, which will update when an specified event fires on this element.
Parameters
Function that takes an element id and returns a JavaScript expression to read that element
Function that takes an element id and a new value, and returns a JavaScript expression to write that value.
The event to listen for that signifies this element has been updated
The initial value of the KVar