1 | import { type ExtractPropTypes } from 'vue';
|
2 | export interface BarrageItem {
|
3 | id: string | number;
|
4 | text: string | number;
|
5 | }
|
6 | export declare const barrageProps: {
|
7 | top: {
|
8 | type: (NumberConstructor | StringConstructor)[];
|
9 | default: number;
|
10 | };
|
11 | rows: {
|
12 | type: (NumberConstructor | StringConstructor)[];
|
13 | default: number;
|
14 | };
|
15 | duration: {
|
16 | type: (NumberConstructor | StringConstructor)[];
|
17 | default: number;
|
18 | };
|
19 | autoPlay: {
|
20 | type: BooleanConstructor;
|
21 | default: true;
|
22 | };
|
23 | delay: {
|
24 | type: NumberConstructor;
|
25 | default: number;
|
26 | };
|
27 | modelValue: {
|
28 | type: import("vue").PropType<BarrageItem[]>;
|
29 | default: () => never[];
|
30 | };
|
31 | };
|
32 | export type BarrageProps = ExtractPropTypes<typeof barrageProps>;
|
33 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
34 | top: {
|
35 | type: (NumberConstructor | StringConstructor)[];
|
36 | default: number;
|
37 | };
|
38 | rows: {
|
39 | type: (NumberConstructor | StringConstructor)[];
|
40 | default: number;
|
41 | };
|
42 | duration: {
|
43 | type: (NumberConstructor | StringConstructor)[];
|
44 | default: number;
|
45 | };
|
46 | autoPlay: {
|
47 | type: BooleanConstructor;
|
48 | default: true;
|
49 | };
|
50 | delay: {
|
51 | type: NumberConstructor;
|
52 | default: number;
|
53 | };
|
54 | modelValue: {
|
55 | type: import("vue").PropType<BarrageItem[]>;
|
56 | default: () => never[];
|
57 | };
|
58 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
59 | top: {
|
60 | type: (NumberConstructor | StringConstructor)[];
|
61 | default: number;
|
62 | };
|
63 | rows: {
|
64 | type: (NumberConstructor | StringConstructor)[];
|
65 | default: number;
|
66 | };
|
67 | duration: {
|
68 | type: (NumberConstructor | StringConstructor)[];
|
69 | default: number;
|
70 | };
|
71 | autoPlay: {
|
72 | type: BooleanConstructor;
|
73 | default: true;
|
74 | };
|
75 | delay: {
|
76 | type: NumberConstructor;
|
77 | default: number;
|
78 | };
|
79 | modelValue: {
|
80 | type: import("vue").PropType<BarrageItem[]>;
|
81 | default: () => never[];
|
82 | };
|
83 | }>> & Readonly<{
|
84 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
85 | }>, {
|
86 | top: string | number;
|
87 | modelValue: BarrageItem[];
|
88 | rows: string | number;
|
89 | duration: string | number;
|
90 | autoPlay: boolean;
|
91 | delay: number;
|
92 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
93 | export default _default;
|
94 |
|
\ | No newline at end of file |