Skip to content

observeMutations()

ts
function observeMutations(): void

Defined in: client/mutation.ts:15 ↗

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

Returns

void