handleScroll function
Last updated: 2026-03-05T20:45:07.036Z
Metrics
LOC: 10
Complexity: 2
Params: 1
Signature
handleScroll(step: FlowStep): : StepResult
Source Code
function handleScroll(step: FlowStep): StepResult {
if (step.scrollPosition) {
window.scrollTo({
left: step.scrollPosition.x,
top: step.scrollPosition.y,
behavior: "smooth",
});
}
return { status: "success" };
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| executeStep | calls |