Reference width


A Number variable that stores the width of the canvas in pixels.

width's default value is 100. Calling createCanvas() or resizeCanvas() changes the value of width. Calling noCanvas() sets its value to 0.


Notice any errors or typos? Please let us know. Please feel free to edit src/core/environment.js and open a pull request!

Related References