A suggestion to facilitate computed values and automatic repainting in plugin components

A suggestion to facilitate computed values and automatic repainting in plugin components

Not sure if this functionality is already available but...

If a plugin component has defined getValue() and setValue() methods and the core jQuery.val([value]) method delegates to those accessor methods (if they exist), then a component can support computed values and automatic repainting like the HTML form fields do.