BootstrapBinaryImage Class
Declaration
class BootstrapBinaryImage extends BootstrapClientEdit
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.
Methods
clear Method
Declaration
clear(): void
getUploadedFileName Method
Declaration
getUploadedFileName(): string
Returns
getValue Method
Declaration
getValue(): any
Returns
off<K> Method
Declaration
off<K extends keyof BootstrapBinaryImageEventMap>(
eventName?: K,
callback?: (this: BootstrapBinaryImage,
args?: BootstrapBinaryImageEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapBinaryImage, args?: BootstrapBinaryImageEventMap[K]) => void |
Type Parameters
Returns
on<K>(eventName, callback) Method
Declaration
on<K extends keyof BootstrapBinaryImageEventMap>(
eventName: K,
callback: (this: BootstrapBinaryImage,
args?: BootstrapBinaryImageEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapBinaryImage, args?: BootstrapBinaryImageEventMap[K]) => void |
Type Parameters
Returns
once<K>(eventName, callback) Method
Declaration
once<K extends keyof BootstrapBinaryImageEventMap>(
eventName: K,
callback: (this: BootstrapBinaryImage,
args?: BootstrapBinaryImageEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapBinaryImage, args?: BootstrapBinaryImageEventMap[K]) => void |
Type Parameters
Returns
performCallback(
data: any
): Promise<void>
performCallback(
data: any,
onSuccess: () => void
): void
Name |
Type |
data |
any |
onSuccess |
() => void |
setSize(width, height) Method
Declaration
setSize(
width: number,
height: number
): void
Parameters
Name |
Type |
width |
number |
height |
number |
setValue(value) Method
Declaration
setValue(
value: any
): void
Parameters