Control Class

Declaration

export class 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.

Properties

name Property

Declaration

name: string

Property Value

Type Description
string

Methods

adjustControl Method

Declaration

adjustControl(): void

getHeight Method

Declaration

getHeight(): number

Returns

Type Description
number

getMainElement Method

Declaration

getMainElement(): any

Returns

Type Description
any

getParentControl Method

Declaration

getParentControl(): any

Returns

Type Description
any

getVisible Method

Declaration

getVisible(): boolean

Returns

Type Description
boolean

getWidth Method

Declaration

getWidth(): number

Returns

Type Description
number

inCallback Method

Declaration

inCallback(): boolean

Returns

Type Description
boolean

off Method

Declaration

off(): this

Returns

Type Description
this

on Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

once Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

sendMessageToAssistiveTechnology Method

Declaration

sendMessageToAssistiveTechnology(message: string): void

Parameters

Name Type Description
message

setHeight Method

Declaration

setHeight(height: number): void

Parameters

Name Type Description
height

setVisible Method

Declaration

setVisible(visible: boolean): void

Parameters

Name Type Description
visible

setWidth Method

Declaration

setWidth(width: number): void

Parameters

Name Type Description
width