You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Breaking changes
Minimum Vuejs version: 3.2.37
The type of files argument in all events changed from FileList to File[]
The default CSS is not included by default. You need to import it to use:
import'vue-file-selector/dist/main.css';
New
Added types:
/** * Validates the selected files. * @returns `true` if the files are valid. * @returns `false` if the files are valid */exportdeclaretypeFsValidateFn=(files: File[])=>boolean;/** * The validation result. */exportdeclaretypeFsValidationResult=boolean|'MULTIFILES_ERROR'|'EXTENSION_ERROR'|'FILE_SIZE_ERROR';