Skip to main content

BootstrapUploadControlFile Class

Declaration

class BootstrapUploadControlFile 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
BootstrapUploadControlFile

Properties

name Property

Declaration

readonly name: string

Property Value

Type
string

size Property

Declaration

readonly size: number

Property Value

Type
number

sourceFileObject Property

Declaration

readonly sourceFileObject: any

Property Value

Type
any

Methods

off<K> Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this