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

file.focused Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets a value indicating whether the user-selected file is in focus.

Syntax

JavaScript Get/Set Value at Runtime
$au.uploader('uploaderID').files().get(index).focused(value);
value = $au.uploader('uploaderID').files().get(index).focused();

Property Value

Type: Boolean

true means that this file is in focus, otherwise - out of focus.