Index
Constructors
Public Properties
Protected Accessors
Public Methods
- getItemFilterCallback
- getItems
- getRootLevel
- hideMenu
- knockMenuStyle
- refreshCheckboxes
- refreshItems
- showMenu
- submitMenu
Constructors
constructor
⊕ new PopupMenu(options?: PopupMenuOptions): PopupMenu
Parameters:
- options: PopupMenuOptions, Optional
Public Properties
isCursorInside
● isCursorInside: boolean
= false
maxHeight
● maxHeight: number
maxItemWidth
● maxItemWidth: number
minItemWidth
● minItemWidth: number
style
● style: any
zIndex
● zIndex: string
Protected Accessors
cssPrefix
⇄ get cssPrefix(): string
Returns string
Public Methods
getItemFilterCallback
▸ getItemFilterCallback(): (item: MenuItem) => boolean
Returns (item: MenuItem) => boolean
getItems
▸ getItems(): MenuItem[]
Returns MenuItem[]
getRootLevel
▸ getRootLevel(): MenuLevel
Returns MenuLevel
hideMenu
▸ hideMenu(): void
Returns void
knockMenuStyle
▸ knockMenuStyle(menu: HTMLElement
): void
Parameters:
- menu:
HTMLElement
Returns void
refreshCheckboxes
▸ refreshCheckboxes(): void
Returns void
refreshItems
▸ refreshItems(): void
Returns void
showMenu
▸ showMenu(options: PopupMenuOptions): void
Parameters:
- options: PopupMenuOptions
Returns void
submitMenu
▸ submitMenu(menuItem: any
,selectedItems: any
): void
Parameters:
- menuItem:
any
- selectedItems:
any
Returns void