- build process updated - systemjs bundler added BREAKING CHANGES: - directives and selectors renamed to ng2FileSelect and ng2FileDrop
Usage
import {FileSelectDirective, FileDropDirective, FileUploader} from 'ng2-file-upload/ng2-file-upload';
Annotations
// class FileSelectDirective
@Directive({ selector: '[ng2FileSelect]' })
// class FileDropDirective
@Directive({ selector: '[ng2FileDrop]' })
FileSelect API
Properties
uploader- (FileUploader) - uploader object. See using in demo
Parameters that supported by this object:
url- URL of File Uploader's routeauthToken- auth token that will be applied as 'Authorization' header during file send.
FileDrop API
Properties
uploader- (FileUploader) - uploader object. See using in demo