BootstrapMenuItem Class

Declaration

export class BootstrapMenuItem

Properties

index property

Declaration

index: number

Property Value

Type Description
number

indexPath property

Declaration

indexPath: string

Property Value

Type Description
string

menu property

Declaration

menu: BootstrapMenu | null

Property Value

Type Description
BootstrapMenu
null

name property

Declaration

name: string

Property Value

Type Description
string

parent property

Declaration

parent: BootstrapMenuItem | null

Property Value

Type Description
BootstrapMenuItem
null

Methods

getBadgeIconCssClass method

Declaration

getBadgeIconCssClass(): string

Returns

Type Description
string

getBadgeText method

Declaration

getBadgeText(): string

Returns

Type Description
string

getChecked method

Declaration

getChecked(): boolean

Returns

Type Description
boolean

getEnabled method

Declaration

getEnabled(): boolean

Returns

Type Description
boolean

getIconCssClass method

Declaration

getIconCssClass(): string

Returns

Type Description
string

getImageUrl method

Declaration

getImageUrl(): string

Returns

Type Description
string

getItem method

Declaration

getItem(index: number): BootstrapMenuItem | null

Parameters

Type Name Description
number index

Returns

Type Description
BootstrapMenuItem
null

getItemByName method

Declaration

getItemByName(name: string): BootstrapMenuItem | null

Parameters

Type Name Description
string name

Returns

Type Description
BootstrapMenuItem
null

getItemCount method

Declaration

getItemCount(): number

Returns

Type Description
number

getNavigateUrl method

Declaration

getNavigateUrl(): string

Returns

Type Description
string

getText method

Declaration

getText(): string

Returns

Type Description
string

getVisible method

Declaration

getVisible(): boolean

Returns

Type Description
boolean

setBadgeIconCssClass method

Declaration

setBadgeIconCssClass(cssClass: string): void

Parameters

Type Name Description
string cssClass

setBadgeText method

Declaration

setBadgeText(text: string): void

Parameters

Type Name Description
string text

setChecked method

Declaration

setChecked(value: boolean): void

Parameters

Type Name Description
boolean value

setEnabled method

Declaration

setEnabled(value: boolean): void

Parameters

Type Name Description
boolean value

setIconCssClass method

Declaration

setIconCssClass(cssClass: string): void

Parameters

Type Name Description
string cssClass

setImageUrl method

Declaration

setImageUrl(value: string): void

Parameters

Type Name Description
string value

setNavigateUrl method

Declaration

setNavigateUrl(value: string): void

Parameters

Type Name Description
string value

setText method

Declaration

setText(value: string): void

Parameters

Type Name Description
string value

setVisible method

Declaration

setVisible(value: boolean): void

Parameters

Type Name Description
boolean value