Expand description
Collection of helpers (shorthands) to access and create elements in a browser window.
Functionsยง
- body
- Gets the body of the browser document.
- canvas
- Gets a canvas by the given id or create it if it does not exists.
- context_
2d - Gets the 2d context of the given canvas.
- create_
canvas - Creates a new canvas width given with and height.
- document
- Gets the document of the browser window.
- window
- Gets the browser window.