vue-vben-admin/src/enums/menuEnum.ts

41 lines
637 B
TypeScript
Raw Normal View History

2020-09-28 20:19:10 +08:00
/**
* @description: menu type
*/
export enum MenuTypeEnum {
// left menu
SIDEBAR = 'sidebar',
// mixin menu
MIX = 'mix',
// top menu
TOP_MENU = 'top-menu',
}
// menu theme enum
export enum MenuThemeEnum {
DARK = 'dark',
LIGHT = 'light',
}
export type Mode = 'vertical' | 'vertical-right' | 'horizontal' | 'inline';
// menu mode
export enum MenuModeEnum {
VERTICAL = 'vertical',
HORIZONTAL = 'horizontal',
VERTICAL_RIGHT = 'vertical-right',
INLINE = 'inline',
}
export enum MenuSplitTyeEnum {
NONE,
TOP,
LEFT,
}
export enum TopMenuAlignEnum {
CENTER = 'center',
START = 'start',
END = 'end',
}