执行过npm install命令的vue-element-admin源码
康凯
2022-05-20 aa4c235a8ca67ea8b731f90c951a465e92c0a865
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { ElementUIComponent, ElementUIComponentSize } from './component'
import { ButtonType } from './button'
 
export type DropdownMenuAlignment = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'
export type DropdownMenuTrigger = 'hover' | 'click'
 
/** Toggleable menu for displaying lists of links and actions */
export declare class ElDropdown extends ElementUIComponent {
  /** Menu button type. only works when split-button is true */
  type: ButtonType
 
  /** Whether a button group is displayed */
  splitButton: boolean
 
  /** menu size, also works on the split button */
  size: ElementUIComponentSize
 
  /** Placement of the menu */
  placement: DropdownMenuAlignment
 
  /** How to trigger */
  trigger: DropdownMenuTrigger
 
  /** Whether to hide menu after clicking menu-item */
  hideOnClick: boolean
 
  /** Delay time before show a dropdown */
  showTimeout: number
 
  /** Delay time before hide a dropdown */
  hideTimeout: number
 
  /** Dropdown tabindex */
  tabindex: number
}