Skip to content

Function: bindPenInput()

bindPenInput(element, deps): PenActivity

Defined in: client/pen-input.ts:108

Bind the whole pen policy to element (the stage). Returns the pen's live activity, for the chrome guard outside the stage.

Parameters

element

HTMLElement

deps

PenInputDeps

Returns

PenActivity