Skip to content

observeMutations()

ts
function observeMutations(): void

Starts observing HTML document for changes. Required by imgit to lazy-load elements added dynamically, eg in single-page apps (SPA).

Returns

void

Defined in

client/mutation.ts:15 ↗