Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78005683
transcription-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, Aug 17, 19:27
Size
1006 B
Mime Type
text/x-java
Expires
Mon, Aug 19, 19:27 (2 d)
Engine
blob
Format
Raw Data
Handle
19963294
Attached To
rSVGTESTAPP svg-test-app
transcription-component.component.ts
View Options
import {Component, OnChanges, OnInit} from '@angular/core';
import {NavigationServiceService} from "../../services/navigation-service.service";
import {ExistDbSvgService} from "../../services/svg.service";
import {Subscription} from "rxjs/index";
import {TlnPage} from "../../models/models";
@Component({
selector: 'app-transcription-component',
templateUrl: './transcription-component.component.html',
styleUrls: ['./transcription-component.component.scss']
})
export class TranscriptionComponentComponent implements OnInit {
selectedPageSubscription: Subscription;
pageId: string;
activePage: TlnPage;
constructor( private naviService: NavigationServiceService, private svgService: ExistDbSvgService) { }
ngOnInit() {
this.selectedPageSubscription = this.naviService.selectedPageChange.subscribe(page => {
this.pageId = page.id;
this.activePage = page;
console.log('new page in transcriptionView', page);
// this.svgService.getSvg(page.iri);
});
}
}
Event Timeline
Log In to Comment