uni-shared.d.ts 957 字节
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2 3 4 5

export declare const BUILT_IN_TAGS: string[];

export declare const COMPONENT_NAME_PREFIX = "VUni";

fxy060608's avatar
fxy060608 已提交
6 7 8
export declare const COMPONENT_PREFIX: string;

export declare const COMPONENT_SELECTOR_PREFIX = "uni-";
fxy060608's avatar
fxy060608 已提交
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

export declare function debounce(fn: Function, delay: number): {
    (this: any): void;
    cancel(): void;
};

export declare function isBuiltInComponent(tag: string): boolean;

export declare function isCustomElement(tag: string): boolean;

export declare function isNativeTag(tag: string): boolean;

export declare const NAVBAR_HEIGHT = 44;

export declare function plusReady(callback: () => void): void;

fxy060608's avatar
fxy060608 已提交
25 26
export declare const PRIMARY_COLOR = "#007aff";

fxy060608's avatar
fxy060608 已提交
27 28
export declare const RESPONSIVE_MIN_WIDTH = 768;

fxy060608's avatar
fxy060608 已提交
29 30 31 32 33 34 35
export declare function stringifyQuery(obj?: Record<string, any>, encodeStr?: typeof encodeURIComponent): string;

export declare const TABBAR_HEIGHT = 50;

export declare const TAGS: string[];

export { }