feat: add preloadItemCount for List, incase we need preload more items before scroll to end

This commit is contained in:
pengfei.zhou
2023-03-09 10:55:32 +08:00
committed by jingpeng
parent 4103704162
commit 0774df96e1
26 changed files with 4495 additions and 2639 deletions

View File

@@ -64,7 +64,7 @@ export declare enum Display {
FLEX = 0,
NONE = 1
}
export declare type FlexValue = FlexTypedValue | number;
export type FlexValue = FlexTypedValue | number;
export interface FlexConfig {
direction?: Direction;
flexDirection?: FlexDirection;

View File

@@ -2,11 +2,11 @@ export interface Modeling {
toModel(): Model;
}
export declare function obj2Model(obj: Model, convertor: (v: Function) => string): Model;
declare type _M = string | number | boolean | Modeling | {
type _M = string | number | boolean | Modeling | {
[index: string]: Model;
} | undefined;
export declare type Model = _M | Array<_M>;
export declare type Binder<T> = (v: T) => void;
export type Model = _M | Array<_M>;
export type Binder<T> = (v: T) => void;
export declare class Mutable<T> {
private val;
private binders;
@@ -16,5 +16,5 @@ export declare class Mutable<T> {
bind(binder: Binder<T>): void;
static of<E>(v: E): Mutable<E>;
}
export declare type ClassType<T> = new (...args: any) => T;
export type ClassType<T> = new (...args: any) => T;
export {};