import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { ThreeSixtyFactory } from './three-sixty.factory'; import { HotspotInterface } from '@mediaman/three-sixty/dist/interfaces/hotspot.interface'; import { ImageSetInterface } from '@mediaman/three-sixty/dist/interfaces/image-set.interface'; export declare class ThreeSixtyComponent implements OnInit, OnChanges { private threeSixtyFactory; /** * The canvas width */ width: number; /** * The canvas height */ height: number; /** * Total amount of angles */ angles: number; /** * Amount of angles per image */ anglesPerImage: number; /** * The initial angle to show (number between 0 and 360) */ startAngle: number; /** * Image set with all (ordered) image urls */ images: ImageSetInterface; /** * The factor which increases the drag speed * Default to 5 */ speedFactor: number; /** * Array of hotspots */ hotspots: HotspotInterface[]; /** * Flag to control if all images should be preloaded */ preload: boolean; /** * Gets emitted when the images were preloaded */ preloaded: EventEmitter; /** * The canvas element reference */ private canvasElement; /** * The three sixty instance */ private threeSixty; /** * @param threeSixtyFactory */ constructor(threeSixtyFactory: ThreeSixtyFactory); /** * @inheritDoc */ ngOnInit(): void; /** * @inheritDoc */ ngOnChanges(changes: SimpleChanges): void; /** * Force a preload of all images */ forcePreload(): void; /** * Preload all images if the preload flag is set */ private preloadImages(); /** * Get the configuration object for the ThreeSixty instance */ private getThreeSixtyConfiguration(); }