API Reference
The full API documentation has been moved to a separate section.
Public surface (at a glance)
Runtime:
render(ControllerClass, options)— mount + register + wait forconnect()cleanup()— stop everyApplicationand remove every fixturecreateUserEvent()/fireEvent(element, event, init?)— user-event simulation + low-level escape hatchwaitFor(callback, options?)/nextTick()— async assertion helpersattr.controller/attr.target/attr.action/attr.combine—data-*attribute helpersinferIdentifier(ControllerClass)/identifierFromPath(path)/normalizeIdentifier(raw)— identifier utilities
Types:
RenderOptions,RenderResultUserEvent,WaitForOptions,QueryHelpersControllerConstructorAttrSpec,StimulusActionOptions
For how-tos, see the Guide. For copy-pasteable patterns, see the Cookbook.