Table of contents

Public class

Signature
class EraserTool extends StateNode {}
References

StateNode

Source

packages/tldraw/src/lib/tools/EraserTool/EraserTool.ts


Properties

children

Public static property

Signature
static children: () => (typeof Erasing | typeof Idle | typeof Pointing)[]

id

Public static property

Signature
static id: string

initial

Public static property

Signature
static initial: string

onEnter

Public property

Signature
onEnter: () => void

EmbedShapeUtilEraserToolbarItem