Skip to content

Gun-Vue docs v0.21.4Docs


Gun-Vue docs v0.21.4 / Draw / draw

Variable: draw

const draw: object

Type declaration

canClear

canClear: boolean = false

canRedo

canRedo: boolean = false

canUndo

canUndo: boolean = false

clear()

clear: () => void

Returns

void

colors

colors: string[]

content

content: string = ""

enabled

enabled: boolean = false

ing

ing: boolean = false

initiated

initiated: boolean = false

mode

mode: string

modes

modes: string[]

pinned

pinned: boolean

sizes

sizes: object

sizes.go()

go: (i) => number

Go to a specific index

Parameters

i: number

Returns

number

sizes.index

index: number

sizes.next()

next: (n?) => number

Parameters

n?: number

Returns

number

sizes.prev()

prev: (n?) => number

Parameters

n?: number

Returns

number

sizes.state

state: number

Defined in

src/space/useDraw.js:26

MIT