Intermact API Reference / @intermact/react / IntermactCanvasProps
Interface: IntermactCanvasProps
Defined in: react/src/components/IntermactCanvas.tsx:28
Props for IntermactCanvas.
Properties
autoplay?
readonlyoptionalautoplay?:boolean
Defined in: react/src/components/IntermactCanvas.tsx:30
chrome?
readonlyoptionalchrome?: (built) =>ReactNode
Defined in: react/src/components/IntermactCanvas.tsx:44
Optional DOM chrome rendered above the canvas once the program is built.
Parameters
built
Returns
ReactNode
className?
readonlyoptionalclassName?:string
Defined in: react/src/components/IntermactCanvas.tsx:41
controls?
readonlyoptionalcontrols?:CanvasControls
Defined in: react/src/components/IntermactCanvas.tsx:31
fetchBinary?
readonlyoptionalfetchBinary?:BinaryAssetFetcher
Defined in: react/src/components/IntermactCanvas.tsx:40
Resolve binary font assets during the build pass.
fetcher?
readonlyoptionalfetcher?:AssetFetcher
Defined in: react/src/components/IntermactCanvas.tsx:38
Resolve text assets during the build pass.
interactive?
readonlyoptionalinteractive?:boolean
Defined in: react/src/components/IntermactCanvas.tsx:33
Enable pointer interaction (drag handles, pick) — default true.
keyboard?
readonlyoptionalkeyboard?:boolean
Defined in: react/src/components/IntermactCanvas.tsx:35
Enable keyboard transport (space/arrows/Home/End) — default true.
program
readonlyprogram:IntermactProgram
Defined in: react/src/components/IntermactCanvas.tsx:29
seed?
readonlyoptionalseed?:string|number
Defined in: react/src/components/IntermactCanvas.tsx:36
style?
readonlyoptionalstyle?:CSSProperties
Defined in: react/src/components/IntermactCanvas.tsx:42