@dkx/ng-files-drop-upload
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

DKX/Angular/FilesDropUpload

Form file uploader with drop zone without any styles.

Based on:

Installation

$ npm install --save @dkx/ng-files-drop-upload

or with yarn

$ yarn add @dkx/ng-files-drop-upload

Usage

Module:

import {NgModule} from '@angular/core';
import {FilesDropUploadModule} from '@dkx/ng-files-drop-upload';

@NgModule({
	imports: [
		FilesDropUploadModule,
	],
})
export class AppModule {}

Template:

<dkx-files-drop-upload #upload formControlName="files">
	Drop or
	<button (click)="upload.openUploadDialog()" type="button">select files</button>
	<hr>
	<ul>
		<li *ngFor="let file of upload.data">{{ file.name }}</li>
	</ul>
</dkx-files-drop-upload>

Events

  • (changed): Dropped or selected files

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i @dkx/ng-files-drop-upload

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

83.3 kB

Total Files

24

Last publish

Collaborators

  • davidkcz