class ScrollableViewComponent
implements ScrollableViewComponentImplementation
import { ScrollableViewComponent } from "https://deno.land/x/tui@1.3.4/src/components/mod.ts";
Component that can be assigned to other component's view
property.
This allows components to be drawn independently from other components.
Components drawn over bounds of this component automatically adjust its offset, and when needed scrollbars are added.
Constructors
new
ScrollableViewComponent(options: ScrollableViewComponentOptions)Type Parameters
optional
EventMap extends EventRecord = Record<never, never>Properties
scrollbars: { vertical?: SliderComponent; horizontal?: SliderComponent; }
theme: ScrollableViewTheme