UNPKG

633 BTypeScriptView Raw
1import type { ComponentPublicInstance } from 'vue';
2import type { RollingTextProps } from './RollingText';
3export type RollingTextDirection = 'up' | 'down';
4export type RollingTextStopOrder = 'ltr' | 'rtl';
5export type RollingTextExpose = {
6 start: () => void;
7 reset: () => void;
8};
9export type RollingTextInstance = ComponentPublicInstance<RollingTextProps, RollingTextExpose>;
10export type RollingTextThemeVars = {
11 rollingTextBackground?: string;
12 rollingTextColor?: string;
13 rollingTextFontSize?: string;
14 rollingTextGap?: string;
15 rollingTextItemWidth?: string;
16 rollingTextItemBorderRadius?: string;
17};