BootstrapProgressBar Class

Declaration

class BootstrapProgressBar extends Control

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

Control
BootstrapProgressBar

Methods

getCaption Method

Declaration

getCaption(): string

Returns

Type
string

getDisplayText Method

Declaration

getDisplayText(): string

Returns

Type
string

getEnabled Method

Declaration

getEnabled(): boolean

Returns

Type
boolean

getMaximum Method

Declaration

getMaximum(): number

Returns

Type
number

getMinimum Method

Declaration

getMinimum(): number

Returns

Type
number

getPercent Method

Declaration

getPercent(): number

Returns

Type
number

getPosition Method

Declaration

getPosition(): number

Returns

Type
number

getValue Method

Declaration

getValue(): any

Returns

Type
any

off<K> Method

Declaration

off<K extends keyof BootstrapProgressBarEventMap>(eventName?: K, callback?: (this: BootstrapProgressBar, args?: BootstrapProgressBarEventMap[K]) => void): this

Parameters

Name Type
eventName K
callback (this: BootstrapProgressBar, args?: BootstrapProgressBarEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

on<K extends keyof BootstrapProgressBarEventMap>(eventName: K, callback: (this: BootstrapProgressBar, args?: BootstrapProgressBarEventMap[K]) => void): this

Parameters

Name Type
eventName K
callback (this: BootstrapProgressBar, args?: BootstrapProgressBarEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

once<K extends keyof BootstrapProgressBarEventMap>(eventName: K, callback: (this: BootstrapProgressBar, args?: BootstrapProgressBarEventMap[K]) => void): this

Parameters

Name Type
eventName K
callback (this: BootstrapProgressBar, args?: BootstrapProgressBarEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

setCaption(caption) Method

Declaration

setCaption(caption: string): void

Parameters

Name Type
caption string

setCustomDisplayFormat(text) Method

Declaration

setCustomDisplayFormat(text: string): void

Parameters

Name Type
text string

setEnabled(value) Method

Declaration

setEnabled(value: boolean): void

Parameters

Name Type
value boolean

setMaximum(max) Method

Declaration

setMaximum(max: number): void

Parameters

Name Type
max number

setMinimum(min) Method

Declaration

setMinimum(min: number): void

Parameters

Name Type
min number

setMinMaxValues(minValue, maxValue) Method

Declaration

setMinMaxValues(minValue: number, maxValue: number): void

Parameters

Name Type
minValue number
maxValue number

setPosition(position) Method

Declaration

setPosition(position: number): void

Parameters

Name Type
position number

setValue(value) Method

Declaration

setValue(value: any): void

Parameters

Name Type
value any