ElementModule

WHS.app.ElementModule

const app = new WHS.App([
  new WHS.app.ElementModule({
    container: document.getElementById('app')
  })
]);

Parameters

NameDescriptionDefault value
containerDOM object to which application's canvas will be added to.document.body

Exported dependencies

NameDescription
containerSee above
elementdiv tag with .whs class that handles a canvas.