BootstrapPopupMenu Class
In This Article
#Declaration
TypeScript
class BootstrapPopupMenu extends BootstrapMenu
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
#Inherited Members
#Inheritance
Control
BootstrapMenu
BootstrapPopupMenu
#Methods
#getCurrentPopupElement Method
#Declaration
TypeScript
getCurrentPopupElement(): any
#Returns
Type |
---|
any |
#getCurrentPopupElementIndex Method
#Declaration
TypeScript
getCurrentPopupElementIndex(): number
#Returns
Type |
---|
number |
#getItem(index) Method
#Declaration
TypeScript
getItem(
index: number
): BootstrapMenuItem | null
#Parameters
Name | Type |
---|---|
index | number |
#Returns
Type |
---|
Bootstrap |
null |
#getItemByName(name) Method
#Declaration
TypeScript
getItemByName(
name: string
): BootstrapMenuItem | null
#Parameters
Name | Type |
---|---|
name | string |
#Returns
Type |
---|
Bootstrap |
null |
#getRootItem Method
#Declaration
TypeScript
getRootItem(): BootstrapMenuItem | null
#Returns
Type |
---|
Bootstrap |
null |
#getSelectedItem Method
#Declaration
TypeScript
getSelectedItem(): BootstrapMenuItem | null
#Returns
Type |
---|
Bootstrap |
null |
#hide Method
#Declaration
TypeScript
hide(): void
#off<K> Method
#Declaration
TypeScript
off<K extends keyof BootstrapPopupMenuEventMap>(
eventName?: K,
callback?: (this: BootstrapPopupMenu,
args?: BootstrapPopupMenuEventMap[K]) => void
): this
#Parameters
Name | Type |
---|---|
event |
K |
callback | (this: Bootstrap |
#Type Parameters
Name | Type |
---|---|
K | keyof |
#Returns
Type |
---|
this |
#on<K>(eventName, callback) Method
#Declaration
TypeScript
on<K extends keyof BootstrapPopupMenuEventMap>(
eventName: K,
callback: (this: BootstrapPopupMenu,
args?: BootstrapPopupMenuEventMap[K]) => void
): this
#Parameters
Name | Type |
---|---|
event |
K |
callback | (this: Bootstrap |
#Type Parameters
Name | Type |
---|---|
K | keyof |
#Returns
Type |
---|
this |
#once<K>(eventName, callback) Method
#Declaration
TypeScript
once<K extends keyof BootstrapPopupMenuEventMap>(
eventName: K,
callback: (this: BootstrapPopupMenu,
args?: BootstrapPopupMenuEventMap[K]) => void
): this
#Parameters
Name | Type |
---|---|
event |
K |
callback | (this: Bootstrap |
#Type Parameters
Name | Type |
---|---|
K | keyof |
#Returns
Type |
---|
this |
#refreshPopupElementConnection Method
#Declaration
TypeScript
refreshPopupElementConnection(): void
#setPopupElementCssSelector(selector) Method
#Declaration
TypeScript
setPopupElementCssSelector(
selector: string
): void
#Parameters
Name | Type |
---|---|
selector | string |
#setPopupElementID(popupElementId) Method
#Declaration
TypeScript
setPopupElementID(
popupElementId: string
): void
#Parameters
Name | Type |
---|---|
popup |
string |
#setSelectedItem(item) Method
#Declaration
TypeScript
setSelectedItem(
item: BootstrapMenuItem
): void
#Parameters
Name | Type |
---|---|
item | Bootstrap |
#show Method
#Declaration
TypeScript
show(): void
#showAtElement(htmlElement) Method
#Declaration
TypeScript
showAtElement(
htmlElement: any
): void
#Parameters
Name | Type |
---|---|
html |
any |
#showAtElementByID(id) Method
#Declaration
TypeScript
showAtElementByID(
id: string
): void
#Parameters
Name | Type |
---|---|
id | string |
#showAtPos(x, y) Method
#Declaration
TypeScript
showAtPos(
x: number,
y: number
): void
#Parameters
Name | Type |
---|---|
x | number |
y | number |