MCPcopy
hub / github.com/hotwired/stimulus / start

Method start

src/core/application.ts:19–23  ·  view source on GitHub ↗
(element?: Element, schema?: Schema)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

domReadyFunction · 0.85
startMethod · 0.65

Tested by

no test coverage detected