src code

instance property Component#width

Component#width → Number

The width of the Component. This is a readable and writable property. That is, if you would like to reize the Component, you could try something like:

this.width = this.width * 2;

To double the current width of the Component.