UNPKG

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