tav-ui
Version:
62 lines (61 loc) • 1.27 kB
TypeScript
import type { ExtractPropTypes } from 'vue';
export declare const countToProps: {
startVal: {
type: NumberConstructor;
default: number;
};
endVal: {
type: NumberConstructor;
default: number;
};
duration: {
type: NumberConstructor;
default: number;
};
autoplay: {
type: BooleanConstructor;
default: boolean;
};
decimals: {
type: NumberConstructor;
default: number;
validator(value: number): boolean;
};
prefix: {
type: StringConstructor;
default: string;
};
suffix: {
type: StringConstructor;
default: string;
};
separator: {
type: StringConstructor;
default: string;
};
decimal: {
type: StringConstructor;
default: string;
};
/**
* font color
*/
color: {
type: StringConstructor;
};
/**
* Turn on digital animation
*/
useEasing: {
type: BooleanConstructor;
default: boolean;
};
/**
* Digital animation
*/
transition: {
type: StringConstructor;
default: string;
};
};
export declare type CountToProps = ExtractPropTypes<typeof countToProps>;