width

Gets or sets the width of a canvas element on a document.

MDN Reference