Skip to content

Interface: InkSource

Defined in: reactive.ts:38

What the adapter actually needs from a surface — structural, so tests can drive it with a fake and never touch a canvas.

Methods

ink()

ink(): InkState

Defined in: reactive.ts:39

Returns

InkState


subscribe()

subscribe(listener): () => void

Defined in: reactive.ts:40

Parameters

listener

(event) => void

Returns

() => void