Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123667352
branch4-f.component.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 29, 00:15
Size
664 B
Mime Type
text/x-java
Expires
Thu, Jul 31, 00:15 (2 d)
Engine
blob
Format
Raw Data
Handle
27740798
Attached To
R8244 Eawag_Swing_Weight_Elicitation
branch4-f.component.ts
View Options
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-branch4-f',
templateUrl: './branch4-f.component.html',
styleUrls: ['./branch4-f.component.css']
})
export class Branch4FComponent implements OnInit {
constructor(private router: Router) { }
next(value){
var itemOrder = String(value);
console.log(itemOrder);
// Save data to sessionStorage
sessionStorage.setItem('feedback4', JSON.stringify(itemOrder));
// Get saved data from sessionStorage
var data = sessionStorage.getItem('key');
this.router.navigateByUrl('/survey-v1/branch-ul');
}
ngOnInit() {
}
}
Event Timeline
Log In to Comment