-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathlayout-sider.d.ts
79 lines (67 loc) · 1.51 KB
/
layout-sider.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent } from "../component";
export declare class LayoutSider extends AntdComponent {
/**
* container className
* @type string
*/
class: string;
/**
* whether can be collapsed
* @default false
* @type boolean
*/
collapsible: boolean;
/**
* to set the current status
* @type boolean
*/
collapsed: boolean;
/**
* to set the initial status
* @default false
* @type boolean
*/
defaultCollapsed: boolean;
/**
* reverse direction of arrow, for a sider that expands from the right
* @default false
* @type boolean
*/
reverseArrow: boolean;
/**
* to customize the styles
* @type object | string
*/
style: object | string;
/**
* specify the customized trigger, set to null to hide the trigger
* @type string | slot
*/
trigger: any;
/**
* width of the sidebar
* @default 200
* @type number | string
*/
width: number | string;
/**
* width of the collapsed sidebar, by setting to 0 a special trigger will appear
* @default 64
* @type number
*/
collapsedWidth: number;
/**
* breakpoints of the responsive layout
* @type string
*/
breakpoint: "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
/**
* color theme of the sidebar
* @default 'dark'
* @type string
*/
theme: "light" | "dark";
}