FileUploadComponent class

Implemented types
Annotations
  • @Component(selector: 'fo-file-upload', templateUrl: 'fo_file_upload_component.html', styleUrls: const ['fo_file_upload_component.css'], directives: const [NgIf, FoButtonComponent, FoIconComponent], pipes: const [CapitalizePipe], changeDetection: ChangeDetectionStrategy.OnPush)

Constructors

FileUploadComponent()

Properties

accept ↔ String
@Input(), read / write
disabled ↔ bool
@Input(), read / write
file File
read / write
label ↔ String
@Input(), read / write
materialIcon ↔ bool
@Input(), read / write
maxByteSize ↔ int
@Input(), read / write
msgMaxFilesizeExceeded → String
final
onUploadController → StreamController<File>
final
onUploadOutput → Stream<File>
@Output('upload'), read-only
valid → bool
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clearSelection() → void
ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed. [...]
override
onDrop(MouseEvent event) → void
onFileChange(Event event) → void
upload() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited