Control Class
Declaration
class Control
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
readonly name: string
Property Value
Methods
adjustControl Method
Declaration
adjustControl(): void
getHeight Method
Declaration
getHeight(): number
Returns
getMainElement Method
Declaration
getMainElement(): any
Returns
getParentControl Method
Declaration
getParentControl(): any
Returns
getVisible Method
Declaration
getVisible(): boolean
Returns
getWidth Method
Declaration
getWidth(): number
Returns
inCallback Method
Declaration
inCallback(): boolean
Returns
off<K> Method
Declaration
off<K extends keyof ControlEventMap>(): this
Type Parameters
Returns
off<K>(eventName) Method
Declaration
off<K extends keyof ControlEventMap>(
eventName: K
): this
Parameters
Type Parameters
Returns
off<K>(eventName, callback) Method
Declaration
off<K extends keyof ControlEventMap>(
eventName: K,
callback: (this: Control,
args?: ControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: Control, args?: ControlEventMap[K]) => void |
Type Parameters
Returns
on<K>(eventName, callback) Method
Declaration
on<K extends keyof ControlEventMap>(
eventName: K,
callback: (this: Control,
args?: ControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: Control, args?: ControlEventMap[K]) => void |
Type Parameters
Returns
once<K>(eventName, callback) Method
Declaration
once<K extends keyof ControlEventMap>(
eventName: K,
callback: (this: Control,
args?: ControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: Control, args?: ControlEventMap[K]) => void |
Type Parameters
Returns
sendMessageToAssistiveTechnology(message) Method
Declaration
sendMessageToAssistiveTechnology(
message: string
): void
Parameters
setHeight(height) Method
Declaration
setHeight(
height: number
): void
Parameters
setVisible(visible) Method
Declaration
setVisible(
visible: boolean
): void
Parameters
Name |
Type |
visible |
boolean |
setWidth(width) Method
Declaration
setWidth(
width: number
): void
Parameters