Skip to content

binder

Binder system for mounting and managing VoltX.js bindings

mount

Mount VoltX.js on a root element and its descendants and binds all data-volt-* attributes to the provided scope. Returns a cleanup function to unmount and dispose all bindings.

typescript
export function mount(root: Element, scope: Scope): CleanupFunction