Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F119698423
branch3-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
Sat, Jun 28, 16:52
Size
660 B
Mime Type
text/x-java
Expires
Mon, Jun 30, 16:52 (2 d)
Engine
blob
Format
Raw Data
Handle
27057720
Attached To
R8244 Eawag_Swing_Weight_Elicitation
branch3-f.component.ts
View Options
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-branch3-f',
templateUrl: './branch3-f.component.html',
styleUrls: ['./branch3-f.component.css']
})
export class Branch3FComponent implements OnInit {
constructor(private router: Router) { }
next(value){
var itemOrder = String(value);
console.log(itemOrder);
// Save data to sessionStorage
sessionStorage.setItem('feedback3', JSON.stringify(itemOrder));
// Get saved data from sessionStorage
var data = sessionStorage.getItem('key');
this.router.navigateByUrl('/survey-v1/branch4');
}
ngOnInit() {
}
}
Event Timeline
Log In to Comment