@revideo/core / utils / useContext
Function: useContext()
useContext(
callback): () =>void
Defined in: utils/useContext.ts:8
Provide a function to access the Context2D before the scene is rendered.
Parameters
callback
(ctx) => void
The function that will be provided the context before render.
Returns
() => void