The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapPopupMenu Class

Declaration

export class BootstrapPopupMenu extends BootstrapMenu

Remarks

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.

Inheritance

BootstrapMenu
BootstrapPopupMenu

Methods

getCurrentPopupElement Method

Declaration

getCurrentPopupElement(): any

Returns

Type Description

getCurrentPopupElementIndex Method

Declaration

getCurrentPopupElementIndex(): number

Returns

Type Description

getItem Method

Declaration

getItem(index: number): BootstrapMenuItem | null

Parameters

Name Type Description
index

Returns

Type Description

getItemByName Method

Declaration

getItemByName(name: string): BootstrapMenuItem | null

Parameters

Name Type Description
name

Returns

Type Description

getRootItem Method

Declaration

getRootItem(): BootstrapMenuItem | null

Returns

Type Description

getSelectedItem Method

Declaration

getSelectedItem(): BootstrapMenuItem | null

Returns

Type Description

hide Method

Declaration

hide(): void

off Method

Declaration

off(eventName?: K, callback?: (this: BootstrapPopupMenu, args?: BootstrapPopupMenuEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description

on Method

Declaration

on(eventName: K, callback: (this: BootstrapPopupMenu, args?: BootstrapPopupMenuEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description

once Method

Declaration

once(eventName: K, callback: (this: BootstrapPopupMenu, args?: BootstrapPopupMenuEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description

refreshPopupElementConnection Method

Declaration

refreshPopupElementConnection(): void

setPopupElementCssSelector Method

Declaration

setPopupElementCssSelector(selector: string): void

Parameters

Name Type Description
selector

setPopupElementID Method

Declaration

setPopupElementID(popupElementId: string): void

Parameters

Name Type Description
popupElementId

setSelectedItem Method

Declaration

setSelectedItem(item: BootstrapMenuItem): void

Parameters

Name Type Description
item

show Method

Declaration

show(): void

showAtElement Method

Declaration

showAtElement(htmlElement: any): void

Parameters

Name Type Description
htmlElement

showAtElementByID Method

Declaration

showAtElementByID(id: string): void

Parameters

Name Type Description
id

showAtPos Method

Declaration

showAtPos(x: number, y: number): void

Parameters

Name Type Description
x
y