react-winjs.js
function (propType) {
        return {
            propType: propType,
            update: function domAttribute_update(winjsComponent, propName, oldValue, newValue) {
                if (oldValue !== newValue) {
                    if (newValue !== null && newValue !== undefined) {
                        winjsComponent.element.setAttribute(propName, "" + newValue);
                    } else {
                        winjsComponent.element.removeAttribute(propName);
                    }
                }
            }
        };
    }
function (propType) {
        return {
            propType: propType,
            update: function domAttribute_update(winjsComponent, propName, oldValue, newValue) {
                if (oldValue !== newValue) {
                    if (newValue !== null && newValue !== undefined) {
                        winjsComponent.element.setAttribute(propName, "" + newValue);
                    } else {
                        winjsComponent.element.removeAttribute(propName);
                    }
                }
            }
        };
    }
function ( propType ) { return { propType : propType , update : function domAttribute_update ( winjsComponent , propName , oldValue , newValue ) { if ( oldValue !== newValue ) { if ( newValue !== null && newValue !== undefined ) { winjsComponent . element . setAttribute ( propName , "" + newValue ) ; } else { winjsComponent . element . removeAttribute ( propName ) ; } } } } ; }
Maps to an attribute on the winControl's element.
Maps to an attribute on the winControl s element .