How to use the ngx-uploader.NgUploaderOptions function in ngx-uploader

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 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 6 months ago

Package Health Score

73 / 100
Full package analysis

Similar packages