Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select class="chooseWatchlist" (change)="updateWatchlistTable(item.name)">
- <option *ngFor="let item of _items">{{ item.name }}</option>
- </select>
- private updateWatchlistTable(name) {
- this.http.get('http://localhost:8080/api/points/getValue/' + name)
- .subscribe(res => this._watchlistElements = res.json());
- console.log(name);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement