Skip to content

CanvasElementOptionsBuilder🔗

Constructor🔗

new CanvasElementOptionsBuilder()

Methods🔗

build🔗

Builds the object.

build()

background🔗

background(background: cog.Builder<canvas.BackgroundConfig>)

border🔗

border(border: cog.Builder<canvas.LineConfig>)

config🔗

TODO: figure out how to define this (element config(s))

config(config: any)

connections🔗

connections(connections: cog.Builder<canvas.CanvasConnection>[])

constraint🔗

constraint(constraint: cog.Builder<canvas.Constraint>)

name🔗

name(name: string)

placement🔗

placement(placement: cog.Builder<canvas.Placement>)

type🔗

type(type: string)

See also🔗