26 lines
717 B
TypeScript
26 lines
717 B
TypeScript
|
import { Model } from '../../entities/model/model';
|
||
|
import { DatasetModel } from '../../models/DatasetModel';
|
||
|
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
||
|
|
||
|
//import * as $ from '../../../../node_modules/jquery/dist/jquery'
|
||
|
|
||
|
import * as scroll from '../../../assets/jquery.scrollTo.min.js';
|
||
|
|
||
|
@Component({
|
||
|
selector: 'table-of-content',
|
||
|
templateUrl: '/table-of-contents.component.html',
|
||
|
styleUrls: ['./toc.component.css'],
|
||
|
providers: []
|
||
|
})
|
||
|
export class TableOfContentsComponent implements OnInit{
|
||
|
|
||
|
@Input() model:DatasetModel;
|
||
|
public path:string="";
|
||
|
/* @Output()
|
||
|
setPage:EventEmitter<number> = new EventEmitter<number>();
|
||
|
|
||
|
*/ ngOnInit(){
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|