(element?: Element, schema?: Schema)
| 17 | debug = false |
| 18 | |
| 19 | static start(element?: Element, schema?: Schema): Application { |
| 20 | const application = new this(element, schema) |
| 21 | application.start() |
| 22 | return application |
| 23 | } |
| 24 | |
| 25 | constructor(element: Element = document.documentElement, schema: Schema = defaultSchema) { |
| 26 | this.element = element |