FocusChange

fires on moving focus to a new file in the queue

void FocusChange(number index,string id);
indexnumberthe position of the file
idstringthe id of the file

Example

vault.events.on("FocusChange", function(index, id){
   // your logic here
});

Related samples

Change log

added in v4.0

Back to top