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.
12 lines (11 loc) • 502 B
TypeScript
import { Building, RisingSkylineService } from 'rising-skyline';
import { BehaviorSubject } from 'rxjs';
export declare class ControlledRisingSkylineService {
skylineService: RisingSkylineService;
constructor(skylineService: RisingSkylineService);
/**
* Generate a random Skyline history with 100 buildings for testing purpose.
* @param skyline$ the observable whch will emit the array of buildings
*/
randomSkylineHistory(skyline$: BehaviorSubject<Building[]>): void;
}