How to use ngx-uploader - 5 common examples

To help you get started, we’ve selected a few ngx-uploader examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bleenco / ngx-uploader / src / app / app.component.ts View on Github external
    this.files = this.files.filter(file => file.progress.status !== UploadStatus.Done);
  }
github freenas / webui / src / app / pages / system / general / config-upload / config-upload.component.ts View on Github external
handleUpload(ufile: UploadFile) {
    if (ufile.progress.status === UploadStatus.Done ) {
      let resp = JSON.parse(ufile.response);
      this.jobId = resp.job_id;
      this.observer.complete();
    }
  }
github mrdear / temp-file-viewer / temp-file-viewer-frontend / src / app / upload / upload / upload.component.ts View on Github external
    this.files = this.files.filter(file => file.progress.status !== UploadStatus.Done);
  }
github freenas / webui / src / app / pages / system / general / config-upload / config-upload.component.ts View on Github external
handleUpload(ufile: UploadFile) {
    if (ufile.progress.status === UploadStatus.Done) {
      let resp = JSON.parse(ufile.response);
      this.jobId = resp.job_id;
      this.observer.complete();
    }
  }
github Crizstian / book-store / client / src / app / container / edit-book / edit-book.component.ts View on Github external
constructor(
    @Inject(NgZone) private zone: NgZone,
    private router: Router,
    private route:ActivatedRoute,
    private bookService: BookService,
    private authorService: AuthorService,
    private categoryService: CategoryService,
    private publisherService: PublisherService
  ) {
    const {url} = this.router
    this.setTitle(url)
    this.getDefaults()
    this.options = new NgUploaderOptions({
      url: 'http://api.ngx-uploader.com/upload',
      autoUpload: false,
      previewUrl: true
    })
  }

ngx-uploader

Angular 2+ File Uploader

MIT
Latest version published 5 months ago

Package Health Score

71 / 100
Full package analysis

Similar packages