Skip to content

Commit

Permalink
Step 21.26: Use RxJS to keep track of files
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 14, 2016
1 parent e09a41c commit 55afc0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/imports/app/parties/parties-upload.component.ts
@@ -1,16 +1,19 @@
import { Component } from '@angular/core';
import {Component} from '@angular/core';

import template from './parties-upload.component.html';

import { upload } from '../../../../both/methods/images.methods';

import {Subject, Subscription} from "rxjs";

@Component({
selector: 'parties-upload',
template
})
export class PartiesUploadComponent {
fileIsOver: boolean = false;
uploading: boolean = false;
files: Subject<string[]> = new Subject<string[]>();

constructor() {}

Expand Down

0 comments on commit 55afc0a

Please sign in to comment.