BootstrapBinaryImage Class

Declaration

export class BootstrapBinaryImage extends BootstrapClientEdit

Inheritance

Methods

clear method

Declaration

clear(): void

getUploadedFileName method

Declaration

getUploadedFileName(): string

Returns

Type Description
string

getValue method

Declaration

getValue(): any

Returns

Type Description
any

off method

Declaration

off(eventName?: K, callback?: (this: BootstrapBinaryImage, args?: BootstrapBinaryImageEventMap[K]) => void): this

Parameters

Type Name Description
K eventName
(this: BootstrapBinaryImage, args?: BootstrapBinaryImageEventMap[K]) => void callback

Returns

Type Description
this

on method

Declaration

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

Parameters

Type Name Description
K eventName
(this: BootstrapBinaryImage, args?: BootstrapBinaryImageEventMap[K]) => void callback

Returns

Type Description
this

once method

Declaration

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

Parameters

Type Name Description
K eventName
(this: BootstrapBinaryImage, args?: BootstrapBinaryImageEventMap[K]) => void callback

Returns

Type Description
this

performCallback method

Declaration

performCallback(data: any): Promise<void>

Parameters

Type Name Description
any data

Returns

Type Description
Promise<void>

setSize method

Declaration

setSize(width: number, height: number): void

Parameters

Type Name Description
number width
number height

setValue method

Declaration

setValue(value: any): void

Parameters

Type Name Description
any value