function prop(name, value) {
	      var $name = typeof this.style[name] === 'function' ? '$' + name : name;
	      var currValue = this.style[$name];

	      // Its a setter.
	      if (value != null) {
	        // Don't do anything if the value has not changed.
	        if (currValue !== value) {
	          var jss = this.options.jss;

	          var newValue = jss ? jss.plugins.onChangeValue(value, name, this) : value;
	          Object.defineProperty(this.style, $name, {
	            value: newValue,
	            writable: true
	          });
	          // Only defined if option linked is true.
	          if (this.renderable) this.renderer.setStyle(this.renderable, name, newValue);
	        }
	        return this;
	      }
	      // Its a getter, read the value from the DOM if its not cached.
	      if (this.renderable && currValue == null) {
	        currValue = this.renderer.getStyle(this.renderable, name);
	        // Cache the value after we have got it from the DOM first time.
	        this.prop(name, currValue);
	      }

	      return this.style[$name];
	    }
/**
	     * Get or set a style property.
	     */
Get or set a style property.
Get or set a style property .
function prop(name, value) {
	      var $name = typeof this.style[name] === 'function' ? '$' + name : name;
	      var currValue = this.style[$name];
	      if (value != null) {
	        if (currValue !== value) {
	          var jss = this.options.jss;
	          var newValue = jss ? jss.plugins.onChangeValue(value, name, this) : value;
	          Object.defineProperty(this.style, $name, {
	            value: newValue,
	            writable: true
	          });
	          if (this.renderable) this.renderer.setStyle(this.renderable, name, newValue);
	        }
	        return this;
	      }
	      if (this.renderable && currValue == null) {
	        currValue = this.renderer.getStyle(this.renderable, name);
	        this.prop(name, currValue);
	      }
	      return this.style[$name];
	    }
function prop ( name , value ) { var $name = typeof this . style [ name ] === 'function' ? '$' + name : name ; var currValue = this . style [ $name ] ; if ( value != null ) { if ( currValue !== value ) { var jss = this . options . jss ; var newValue = jss ? jss . plugins . onChangeValue ( value , name , this ) : value ; Object . defineProperty ( this . style , $name , { value : newValue , writable : true } ) ; if ( this . renderable ) this . renderer . setStyle ( this . renderable , name , newValue ) ; } return this ; } if ( this . renderable && currValue == null ) { currValue = this . renderer . getStyle ( this . renderable , name ) ; this . prop ( name , currValue ) ; } return this . style [ $name ] ; }
Get or set a style property.
Get or set a style property .
// Its a setter. // Don't do anything if the value has not changed. // Only defined if option linked is true. // Its a getter, read the value from the DOM if its not cached. // Cache the value after we have got it from the DOM first time.