schangxiang@126.com
2025-05-21 496f78c085e7f8c5ba261835f9b8bda99c25b4cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import type { MenuOptions, MenuPopDirection } from "./ContextMenuDefine";
 
export interface MenuBarOptions extends Omit<MenuOptions, 'x'|'y'|'getContainer'> {
  /**
   * Set whether the current menu bar is collapsed, default is false.
   */
  mini?: boolean;
  /**
   * Set the mian menu pop-up direction relative to coordinates. (With collapsed state)
   * 
   * Default is `'bl'`
   * 
   * @default 'bl'
   */
  barPopDirection ?: MenuPopDirection,
}