Skip to content

Handler

ts
type Handler: [(added) => void, (removed) => void];

External mutation handler. First tuple hook is invoked when an element is added to HTML document; second one — when removed.

Source

client/mutation.ts:8 ↗