Commit ede6baa1 by Adarsh K

cart

parent 9e070769
...@@ -49,6 +49,7 @@ export class CartPage implements OnInit { ...@@ -49,6 +49,7 @@ export class CartPage implements OnInit {
totalAmt: number; totalAmt: number;
bookDate: any; bookDate: any;
timeinterval: any; timeinterval: any;
deliveryTime: any;
constructor( constructor(
private router: Router, private router: Router,
...@@ -184,7 +185,7 @@ export class CartPage implements OnInit { ...@@ -184,7 +185,7 @@ export class CartPage implements OnInit {
console.log('ready for slide'); console.log('ready for slide');
const timeStamp = Math.floor(Date.now() / 1000); const timeStamp = Math.floor(Date.now() / 1000);
this.timeinterval = setInterval(() => { this.timeinterval = setInterval(() => {
this.getDeliveryTime(timeStamp); This.getDeliveryTime(timeStamp);
}, 1000); }, 1000);
this.slides.slideNext(); this.slides.slideNext();
}); });
......
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