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