zs
2025-04-30 2f3617a5147d025ac13a70938859974f4b369b4b
HIAWms/web/src/components/vue3-context-menu/MenuBar.ts
对比新文件
@@ -0,0 +1,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,
}