UNPKG

controlled-rising-skyline

Version:

This library provides a rising skyline chart with an horizontal control panel control. This widget is linked to a dynamic history of buildings. An animation displays the rising of the skyline.

30 lines (29 loc) 961 B
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core'; import { MatSliderChange } from '@angular/material/slider'; import { ColorService, RisingSkylineService } from 'rising-skyline'; export declare class PanelControlComponent implements OnInit, AfterViewInit, OnDestroy { skylineService: RisingSkylineService; colorService: ColorService; /** * Background color of the control footer panel */ backgroundColor: any; /** * Slider color of the panel control */ sliderColor: string; /** * __Debug__ mode default value is **False**. */ debug: boolean; /** * The Skyline subscription. */ private skylineSubscription; constructor(skylineService: RisingSkylineService, colorService: ColorService); formatYearWeek: (value: number) => string; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; onSliderChange($event: MatSliderChange): void; }