vitalii-andriiovskyi / ngx-owl-carousel-o

owl-carousel for Angular >=6
MIT License
174 stars 51 forks source link

There are no slides to show. So the carousel won't be rendered #254

Open poohmipun opened 1 year ago

poohmipun commented 1 year ago
<owl-carousel-o [options]="customOptions">
                    <div carouselSlide>
                        <div class="slide">
                            <img src="https://via.placeholder.com/600/92c952" alt="img 1" />
                        </div>
                    </div>
                    <div carouselSlide>
                        <div class="slide">
                            <img src="https://via.placeholder.com/600/92c952" alt="img 1" />
                        </div>
                    </div>
                    <div carouselSlide>
                        <div class="slide">
                            <img src="https://via.placeholder.com/600/92c952" alt="img 1" />
                        </div>
                    </div>
                    <div carouselSlide>
                        <div class="slide">
                            <img src="https://via.placeholder.com/600/92c952" alt="img 1" />
                        </div>
                    </div>
                </owl-carousel-o>

am very new to angular but i have a question, Can the slide be

element because all the example i see is and , in my console i got this error "There are no slides to show. So the carousel won't be rendered" and nothing appear , i using npm i ngx-owl-carousel-o@15.0.1