TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 
This documentation is for the old version. Go to the latest Upload Suite docs

events.beforePackageUpload Property

Gets or sets an array of BeforePackageUpload event handlers.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    events: {
        //...other params...
        beforePackageUpload: [],
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').events().beforePackageUpload(value);
value = $au.imageUploaderFlash('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.

Parameters

packageIndex
zero-based index of the package (i.e. request) inside the current upload session.

See Also

Reference

Manual