Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add UploadxService.state() method #350

Merged
merged 4 commits into from
Nov 15, 2021
Merged

feat: add UploadxService.state() method #350

merged 4 commits into from
Nov 15, 2021

Conversation

kukhariev
Copy link
Owner

Returns the current state of uploads.

export class UploadComponent {
  uploads: UploadState[] = [];

  constructor(private uploadService: UploadxService) {
    // restore background uploads
    this.uploads = this.uploadService.state();
  }

@kukhariev kukhariev marked this pull request as ready for review November 14, 2021 23:41
@kukhariev kukhariev merged commit cf7c753 into master Nov 15, 2021
@kukhariev kukhariev deleted the stateChange-type branch November 15, 2021 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant