zs
2025-05-06 55bf797dcc730b37bc691ebab2b51ff9db8ed245
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,
}