feat: update

parent 170121ea
import {AfterViewInit, Component, OnInit} from '@angular/core';
import {Component, OnInit} from '@angular/core';
import {Video} from '../../globals';
import {term} from '../../globals';
import * as jQuery from 'jquery/dist/jquery.min.js';
@Component({
selector: 'app-json',
templateUrl: './json.component.html',
styleUrls: ['./json.component.css']
})
export class JsonComponent implements OnInit, AfterViewInit {
export class JsonComponent implements OnInit {
speed = 1;
setPercent = 0;
toggle = false;
......@@ -27,11 +25,6 @@ export class JsonComponent implements OnInit, AfterViewInit {
this.restart();
}
ngAfterViewInit() {
this.restart();
}
setSpeed() {
if (this.speed === 0) {
this.TIMESTEP = this.TICK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment