v-input-file

0.6.1 • Public • Published

v-input-file

Installation

> npm install v-input-file --save
> npm i v-input-file --save

Then you need to import and register it:

> import inputFile from 'v-input-file'
> Vue.use(inputFile)

Usage

<input-file v-model="fileList" :multiple="false"></input-file>

Props

Name Type Default Description
multiple Boolean false Whether to support multi file upload? Currently, only false can be passed
fileList Array []
btnColor String '#409eff' btn's background color

Events

Name Arguments Description
update:fileList Array File information array

/v-input-file/

    Package Sidebar

    Install

    npm i v-input-file

    Weekly Downloads

    3

    Version

    0.6.1

    License

    ISC

    Unpacked Size

    40.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • a_gnij