Function createPlayheadAtom
- createPlayheadAtom(context, basePlayhead?): StateAtom<{
position: number;
precision: number;
}, {
setPosition: typeof setPosition;
setPrecision: typeof setPrecision;
}>
-
Parameters
-
-
Optional
basePlayhead: Partial<Playhead>
Returns StateAtom<{
position: number;
precision: number;
}, {
setPosition: typeof setPosition;
setPrecision: typeof setPrecision;
}>