Proposal for Exists+Events+in/visible

Following on from our discussion yesterday, a strawman proposal that also  
covers my more general case:

 <bind ref="sum" property="if(.<0, 'negative', '')"/>
 ...
 <output ref="sum"><label>Total: </label></output>

with CSS:

 output.negative {color: red}

How a bound property maps to controls is host-language dependent, but for  
XHTML it would add the property name to @class.

Steven

Received on Wednesday, 3 November 2010 15:12:37 UTC