UNPKG

2.2 kBTypeScriptView Raw
1export declare const Barrage: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 top: {
3 type: (NumberConstructor | StringConstructor)[];
4 default: number;
5 };
6 rows: {
7 type: (NumberConstructor | StringConstructor)[];
8 default: number;
9 };
10 duration: {
11 type: (NumberConstructor | StringConstructor)[];
12 default: number;
13 };
14 autoPlay: {
15 type: BooleanConstructor;
16 default: true;
17 };
18 delay: {
19 type: NumberConstructor;
20 default: number;
21 };
22 modelValue: {
23 type: import("vue").PropType<import("./Barrage").BarrageItem[]>;
24 default: () => never[];
25 };
26}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27 top: {
28 type: (NumberConstructor | StringConstructor)[];
29 default: number;
30 };
31 rows: {
32 type: (NumberConstructor | StringConstructor)[];
33 default: number;
34 };
35 duration: {
36 type: (NumberConstructor | StringConstructor)[];
37 default: number;
38 };
39 autoPlay: {
40 type: BooleanConstructor;
41 default: true;
42 };
43 delay: {
44 type: NumberConstructor;
45 default: number;
46 };
47 modelValue: {
48 type: import("vue").PropType<import("./Barrage").BarrageItem[]>;
49 default: () => never[];
50 };
51}>> & Readonly<{
52 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53}>, {
54 top: string | number;
55 modelValue: import("./Barrage").BarrageItem[];
56 rows: string | number;
57 duration: string | number;
58 autoPlay: boolean;
59 delay: number;
60}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
61export default Barrage;
62export { barrageProps } from './Barrage';
63export type { BarrageProps, BarrageItem } from './Barrage';
64export type { BarrageInstance, BarrageThemeVars } from './types';
65declare module 'vue' {
66 interface GlobalComponents {
67 VanBarrage: typeof Barrage;
68 }
69}
70
\No newline at end of file