2019-01-01 12:13:51 +08:00
|
|
|
// 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
|
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
import { AntdComponent } from '../component';
|
2019-01-01 12:13:51 +08:00
|
|
|
|
|
|
|
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
|
2019-01-05 11:24:56 +08:00
|
|
|
* @default 80
|
2019-01-01 12:13:51 +08:00
|
|
|
* @type number
|
|
|
|
*/
|
|
|
|
collapsedWidth: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* breakpoints of the responsive layout
|
|
|
|
* @type string
|
|
|
|
*/
|
2019-01-12 11:33:27 +08:00
|
|
|
breakpoint: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
2019-01-01 12:13:51 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* color theme of the sidebar
|
|
|
|
* @default 'dark'
|
|
|
|
* @type string
|
|
|
|
*/
|
2019-01-12 11:33:27 +08:00
|
|
|
theme: 'light' | 'dark';
|
2019-01-01 12:13:51 +08:00
|
|
|
}
|