This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-js/lib/src/native/coordinator.d.ts

22 lines
718 B
TypeScript
Raw Normal View History

import { BridgeContext } from "../runtime/global";
import { Scroller } from "../widget/scroller";
import { List } from "../widget/list";
import { FlowLayout } from "../widget/flowlayout";
import { View } from "../ui/view";
import { Color } from "../util/color";
export declare function coordinator(context: BridgeContext): {
verticalScrolling: (argument: {
scrollable: List | Scroller | FlowLayout;
scrollRange: {
start: number;
end: number;
};
target: View | "NavBar";
changing: {
name: "width" | "height" | "x" | "y" | "backgroundColor";
start: number | Color;
end: number | Color;
};
}) => void;
};