**Hi
i don't know if I'm missing something but I'm getting a error in my javascript (see attached error).
Any chance you could help me figure out why? Also i set points: true... but the points are not showing up ?
this is the component TS i have:**
import { Component, OnInit } from '@angular/core';
import { Carousel } from 'ngx-carousel';
@component({
selector: 'app-whatcustomerssay',
templateUrl: './whatcustomerssay.component.html',
styleUrls: ['./whatcustomerssay.component.scss']
})
export class WhatcustomerssayComponent implements OnInit {
public carouselWhatCustomersSay: Carousel;
constructor() { }
ngOnInit() {
this.carouselWhatCustomersSay = {
grid: {xs: 1, sm: 1, md: 1, lg: 1, all: 0},
slide: 1,
speed: 400,
interval: 4000,
animation: 'lazy',
point: true,
load: 1,
touch: true,
custom: 'banner',
dynamicLength: true
};
}
}
and this is my html template:
<ngx-carousel
[inputs]="carouselWhatCustomersSay"
carouselLoad)="carouselWhatCustomersSayLoad($event)" class="ngxcarouselWhatCustomersSay">
<div class="item">
<div class="head">What our customers say</div>
<div class="saying">"Great team and significant savings.You do business the
correct way, which is hard to find these days."
</div>
<div class="name">John Doe</div>
</div>
<div class="item">
<div class="head">What our customers say</div>
<div class="saying">"Great team and significant savings.You do business the
correct way, which is hard to find these days."
</div>
<div class="name">John Doe</div>
</div>
<div class="item">
<div class="head">What our customers say</div>
<div class="saying">"Great team and significant savings.You do business the
correct way, which is hard to find these days."
</div>
<div class="name">John Doe</div>
</div>
<div class="item">
<div class="head">What our customers say</div>
<div class="saying">"Great team and significant savings.You do business the
correct way, which is hard to find these days."
</div>
<div class="name">John Doe</div>
</div>
</ngx-carousel>