This documentation is for the old version. Go to the latest Upload Suite docs

events.beforePackageUpload Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets an array of BeforePackageUpload event handlers.

Syntax

JavaScript Initialize
$au.uploader({
    events: {
        //...other params...
        beforePackageUpload: [],
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').events().beforePackageUpload(value);
value = $au.uploader('uploaderID').events().beforePackageUpload();

Property Value

Type: $au.event

The string containing the name of BeforePackageUpload event handler or an array of handler names.

Remarks

This event fires when the current package is about to be uploaded.

See Also

Reference