+{"props":[{"name":"modelValue","description":"Will be set to a `FileList` containing the selected files when the user changes their selection.\nIn most cases you should use `v-model` instead of setting this prop directly.","type":{"name":"null","func":true}},{"name":"id","description":"The ID of the input. If you don't provide an ID, one will be generated automatically.","type":{"name":"string"}},{"name":"name","description":"The name of the input, which is submitted with the form data.","type":{"name":"string"}},{"name":"describedBy","description":"One or more element IDs to add to the `aria-describedby` attribute, used to provide additional descriptive\ninformation for screenreader users.","type":{"name":"string"}},{"name":"accept","description":"A comma-separated list of filetypes to accept. See [the accept attribute on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept).","type":{"name":"string"}},{"name":"disabled","description":"If `true`, file input will be disabled","type":{"name":"boolean"},"defaultValue":{"func":false,"value":"false"}},{"name":"multiple","description":"If `true`, the user will be allowed to select multiple files. This won't stop users from dragging and dropping multiple files, so you should still validate the length of your `v-model` if you're only expecting one file.","type":{"name":"boolean"},"defaultValue":{"func":false,"value":"false"}},{"name":"formGroupClass","description":"Classes to add to the form group. You can bind a string, an array or an object, as with normal [Vue class bindings](https://vuejs.org/guide/essentials/class-and-style.html#binding-html-classes).","type":{"name":"string|array|object"},"defaultValue":{"func":false,"value":"''"}},{"name":"label","description":"Text to use within the label. If content is provided in the `label` slot, this prop will be ignored.","type":{"name":"string"}},{"name":"labelIsPageHeading","description":"Whether the label also acts as the heading for the page.","type":{"name":"boolean"},"defaultValue":{"func":false,"value":"false"}},{"name":"labelClass","description":"Classes to add to the label tag. You can bind a string, an array or an object, as with normal [Vue class bindings](https://vuejs.org/guide/essentials/class-and-style.html#binding-html-classes).","type":{"name":"string|array|object"},"defaultValue":{"func":false,"value":"''"}},{"name":"hint","description":"Text to use within the hint. If content is provided in the `hint` slot, this prop will be ignored.","type":{"name":"string"}},{"name":"hintClass","description":"Classes to add to the hint span tag. You can bind a string, an array or an object, as with normal [Vue class bindings](https://vuejs.org/guide/essentials/class-and-style.html#binding-html-classes).","type":{"name":"string|array|object"},"defaultValue":{"func":false,"value":"''"}},{"name":"errorMessage","description":"Text to use within the error message. If content is provided in the `error-message` slot, this prop will be ignored.","type":{"name":"string"}},{"name":"errorMessageClass","description":"Classes to add to the error message `<p>` tag. You can bind a string, an array or an object, as with normal [Vue class bindings](https://vuejs.org/guide/essentials/class-and-style.html#binding-html-classes).","type":{"name":"string|array|object"},"defaultValue":{"func":false,"value":"''"}},{"name":"errorMessageVisuallyHiddenText","description":"A visually hidden prefix used before the error message.\n\nDefaults to `'Error'`.","type":{"name":"string"}},{"name":"beforeInput","description":"Text to add before the input. If content is provided in the `before-input` slot, this prop will be ignored.","type":{"name":"string"}},{"name":"afterInput","description":"Text to add after the input. If content is provided in the `after-input` slot, this prop will be ignored.","type":{"name":"string"}},{"name":"chooseFilesButtonText","description":"The text of the button that opens the file picker. If content is provided in the `choose-files-button` slot, this prop will be ignored.","type":{"name":"string"},"defaultValue":{"func":false,"value":"'Choose file'"}},{"name":"dropInstructionText","description":"The text informing users they can drop files. If content is provided in the `drop-instruction` slot, this prop will be ignored.","type":{"name":"string"},"defaultValue":{"func":false,"value":"'or drop file'"}},{"name":"multipleFilesChosenText","description":"The text displayed when multiple files have been chosen by the user. The component will replace the ${count} placeholder with the number of files selected. If content is provided in the `multiple-files-chosen` slot, this prop will be ignored.","type":{"name":"string"},"defaultValue":{"func":false,"value":"'${count} files chosen'"}},{"name":"noFileChosenText","description":"The text displayed when no file has been chosen by the user. If content is provided in the `no-file-chosen` slot, this prop will be ignored.","type":{"name":"string"},"defaultValue":{"func":false,"value":"'No file chosen'"}},{"name":"enteredDropZoneText","description":"The text announced by assistive technology when user drags files and enters the drop zone.","type":{"name":"string"},"defaultValue":{"func":false,"value":"'Entered drop zone'"}},{"name":"leftDropZoneText","description":"The text announced by assistive technology when user drags files and leaves the drop zone without dropping.","type":{"name":"string"},"defaultValue":{"func":false,"value":"'Left drop zone'"}}],"slots":[{"name":"label","description":"The content of the label. If content is provided in this slot, the `label` prop will be ignored."},{"name":"hint","description":"The content of the hint. If content is provided in this slot, the `hint` prop will be ignored."},{"name":"error-message","description":"The content of the error message. If content is provided in this slot, the `errorMessage` prop will be ignored."},{"name":"before-input","description":"Content to add before the input. If content is provided in this slot, the `beforeInput` prop will be ignored."},{"name":"no-file-chosen","description":"The text displayed when no file has been chosen by the user. If content is provided in this slot, the `noFileChosenText` prop will be ignored."},{"name":"drop-instruction","description":"The text informing users they can drop files. If content is provided in this slot, the `dropInstructionText` prop will be ignored."},{"name":"after-input","description":"Content to add after the input. If content is provided in this slot, the `afterInput` prop will be ignored."}]}
0 commit comments