BootstrapPopupMenu Class
Declaration
class BootstrapPopupMenu extends BootstrapMenu
IMPORTANT
Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.
Methods
getCurrentPopupElement(): any
getCurrentPopupElementIndex(): number
getItem(
index: number
): BootstrapMenuItem | null
getItemByName(
name: string
): BootstrapMenuItem | null
getRootItem(): BootstrapMenuItem | null
getSelectedItem(): BootstrapMenuItem | null
hide(): void
off<K extends keyof BootstrapPopupMenuEventMap>(
eventName?: K,
callback?: (this: BootstrapPopupMenu,
args?: BootstrapPopupMenuEventMap[K]) => void
): this
Name |
Type |
eventName |
K |
callback |
(this: BootstrapPopupMenu, args?: BootstrapPopupMenuEventMap[K]) => void |
on<K extends keyof BootstrapPopupMenuEventMap>(
eventName: K,
callback: (this: BootstrapPopupMenu,
args?: BootstrapPopupMenuEventMap[K]) => void
): this
Name |
Type |
eventName |
K |
callback |
(this: BootstrapPopupMenu, args?: BootstrapPopupMenuEventMap[K]) => void |
once<K extends keyof BootstrapPopupMenuEventMap>(
eventName: K,
callback: (this: BootstrapPopupMenu,
args?: BootstrapPopupMenuEventMap[K]) => void
): this
Name |
Type |
eventName |
K |
callback |
(this: BootstrapPopupMenu, args?: BootstrapPopupMenuEventMap[K]) => void |
refreshPopupElementConnection(): void
setPopupElementCssSelector(
selector: string
): void
Name |
Type |
selector |
string |
setPopupElementID(
popupElementId: string
): void
Name |
Type |
popupElementId |
string |
setSelectedItem(
item: BootstrapMenuItem
): void
show(): void
showAtElement(
htmlElement: any
): void
Name |
Type |
htmlElement |
any |
showAtElementByID(
id: string
): void
showAtPos(
x: number,
y: number
): void
Name |
Type |
x |
number |
y |
number |