gogreensoli.blogg.se

Vue2 dropzone
Vue2 dropzone











vue2 dropzone

If you want to define your own dropzone config set this to true and define a dropzoneOptions.Ī custom set of rules to define your dropzone object, use anything available in the dropzone config.Ī custom preview template which will be passed as function. Use dropzone's dict properties to change texts. Whether to use Font Awesome instead of Material Icon. Whether the files are automatically uploaded or not. The maximum number of files to allow the user to upload. The maximum file size for a single upload in MB.

vue2 dropzone

Whether the Remove link is shown on items. Whether the dropzone area is clickable, if false then users can only drag items on to the area.Ī comma separated string of accepted file types eg 'image/*,application/pdf.psd'. NOTE: If you have the option uploadMultiple set to true, then Dropzone will append to the name. The name of the file param that gets transferred. Prop NameĪ string by which to identify the component, can be anything. customOptionsObject is defined in data() with following props names. If you are passing props using dropzoneOptions object then, use prop names same as given in below table.Į.g. paramName becomes :param-name="", showRemoveLink becomes :show-remove-link="". If you are using following options as props (attributes) to component then use dash-seperated names of props.Į.g. Many of these props are inherited from dropzone configuration so see their doco for further details.













Vue2 dropzone