Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91947539
rhizome-view-component.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, Nov 16, 00:52
Size
973 B
Mime Type
text/x-java
Expires
Mon, Nov 18, 00:52 (2 d)
Engine
blob
Format
Raw Data
Handle
22351503
Attached To
rNIETZSCHEBETAAPP Nietzsche-Beta-App
rhizome-view-component.component.ts
View Options
import { Component, OnInit } from '@angular/core';
import {ActivatedRoute, Params, Router} from '@angular/router';
import { TlnQueryParams} from '../models/models';
@Component({
selector: 'app-rhizome-view-component',
templateUrl: './rhizome-view-component.component.html',
styleUrls: ['./rhizome-view-component.component.css']
})
export class RhizomeViewComponentComponent implements OnInit {
queryParams: TlnQueryParams;
constructor(private router: Router,
private activatedRoute: ActivatedRoute) { }
ngOnInit() {
this.activatedRoute.queryParams.subscribe( (queryParams: Params ) => {
this.queryParams = new TlnQueryParams(
queryParams.navBarOpenState,
queryParams.navContext,
queryParams.manuscript,
queryParams.page,
queryParams.selectedLines,
queryParams.selectedWords,
queryParams.viewMode,
queryParams.fullscreen,
queryParams.zoom
);
});
}
}
Event Timeline
Log In to Comment