1.0.4 • Published 5 years ago
mat-input-file v1.0.4
MatInputFile
mat-input-file is a directive that allows Angular Material matInput elements to work with type file
Installation
npm i mat-input-file --save
Usage
- import MatInputFileModule into your app.module.ts
import { MatInputFileModule } from 'mat-input-file'
- use component directive directive to make use of component
<mat-input-file></mat-input-file>
Properties
Name | Type |
---|---|
multiple | boolean |
disabled | boolean |
disabled | boolean |
hidden | boolean |
Methods
Name | Description |
---|---|
filesChange | return object of selected files |
Contributing
- Fork it (https://github.com/desouky95/MatInputFile/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request