Skip to main content
Module

x/tui/src/components/mod.ts>ViewComponent#updateOffsets

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
method ViewComponent.prototype.updateOffsets
Re-export
import { ViewComponent } from "https://deno.land/x/tui@1.3.4/src/components/mod.ts";

Parameters

optional
component: Component<EventRecord>

if specified then checks and updates offsets when given component overflows current offsets otherwise it loops over components to recalculate offsets