Skip to main content

Interface: AnimationCanvasResizableProps

Defined in: react/src/components/AnimationCanvas/index.tsx:77

A canvas that follows the size of its parent element, so the parent needs a size of its own.

Properties​

height?​

optional height?: undefined;

Defined in: react/src/components/AnimationCanvas/index.tsx:86

Not accepted: the size comes from the parent element.


resizable​

resizable: true;

Defined in: react/src/components/AnimationCanvas/index.tsx:82

Follow the size of the parent element instead of width and height. Switching it rebuilds the canvas.


width?​

optional width?: undefined;

Defined in: react/src/components/AnimationCanvas/index.tsx:84

Not accepted: the size comes from the parent element.