ElementModule
WHS.app.ElementModule
const app = new WHS.App([
new WHS.app.ElementModule({
container: document.getElementById('app')
})
]);
Parameters
Name | Description | Default value |
---|---|---|
container | DOM object to which application's canvas will be added to. | document.body |
Exported dependencies
Name | Description |
---|---|
container | See above |
element | div tag with .whs class that handles a canvas. |
Updated almost 8 years ago