Skip to content

Documentation / @ripl/vue / ELEMENT_STATE_KEYS

Variable: ELEMENT_STATE_KEYS ​

const ELEMENT_STATE_KEYS: object

Defined in: adapters/vue/src/core/props.ts:96

The state properties specific to each built-in element, keyed by element type.

Type Declaration ​

arc ​

readonly arc: readonly ["borderRadius", "cx", "cy", "endAngle", "innerRadius", "padAngle", "padWidth", "radius", "startAngle"]

The state properties specific to an arc.

circle ​

readonly circle: readonly ["cx", "cy", "radius"]

The state properties specific to a circle.

ellipse ​

readonly ellipse: readonly ["cx", "cy", "endAngle", "radiusX", "radiusY", "startAngle"]

The state properties specific to an ellipse.

image ​

readonly image: readonly ["height", "image", "width", "x", "y"]

The state properties specific to an image.

line ​

readonly line: readonly ["x1", "x2", "y1", "y2"]

The state properties specific to a line.

path ​

readonly path: readonly ["height", "width", "x", "y"]

The state properties specific to a path.

polygon ​

readonly polygon: readonly ["cx", "cy", "radius", "sides"]

The state properties specific to a polygon.

polyline ​

readonly polyline: readonly ["points", "renderer", "segments"]

The state properties specific to a polyline.

rect ​

readonly rect: readonly ["borderRadius", "height", "width", "x", "y"]

The state properties specific to a rect.

text ​

readonly text: readonly ["content", "pathData", "startOffset", "x", "y"]

The state properties specific to a text run.