// export interface IImage { // url: string | null; // href?: string; // clickAction?: Function; // caption?: string; // title?: string; // backgroundSize?: string; // backgroundPosition?: string; // backgroundRepeat?: string; // } // import { Http, Response, RequestOptions, Headers, Request, RequestMethod } from '@angular/http'; import { CONFIG } from '../../app/config'; declare var $:any; export class ImageClass{ constructor( ){ // this.http = http; } loaded(){ $.getScript("assets/js/jquery.threesixty.js") var hotspotList=[]; setTimeout(() => { var $threeSixty = $('.threesixty'); var wid = 806/100; var hei = 520/100; var img_arr = []; var newx,newY,contentTitle,contentDescription,contentFile; for(var i=0;i