@benzara/svelte-animated-counter
Version:
A tiny ( < 2Kb ) animated counter component for svelte
24 lines (23 loc) • 881 B
TypeScript
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
values?: (string | number)[] | undefined;
interval?: number | undefined;
startImmediately?: boolean | undefined;
direction?: "up" | "down" | undefined;
loop?: boolean | undefined;
ease?: string | undefined;
initialValue?: string | number | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export declare type AnimatedCounterProps = typeof __propDef.props;
export declare type AnimatedCounterEvents = typeof __propDef.events;
export declare type AnimatedCounterSlots = typeof __propDef.slots;
export default class AnimatedCounter extends SvelteComponentTyped<AnimatedCounterProps, AnimatedCounterEvents, AnimatedCounterSlots> {
}
export {};