@weblauncher/material-file-input
TypeScript icon, indicating that this package has built-in type declarations

0.12.0 • Public • Published

Material File Upload Input

npm version

This is an Angular Material component library for having a file input component.

Instalation

npm i @weblauncher/material-file-input

Usage

Import module into your project app.module.ts or other sub-module:

import { MatFileInputModule } from '@weblauncher/material-file-input';

In your templates now you can add

<mat-form-field>
  <mat-label>File</mat-label>
  <mat-file-input [(ngModel)]="file" 
                  placeholder="Select one file"></mat-file-input>
</mat-form-field>

Contribute

Angular Material Administration library contribution guide

Package Sidebar

Install

npm i @weblauncher/material-file-input

Weekly Downloads

252

Version

0.12.0

License

MIT

Unpacked Size

95.4 kB

Total Files

17

Last publish

Collaborators

  • mihaivarga