Comments (5)
This issue not solved for me..
from ngx-owl-carousel.
but there is no carousel
my code
html
<owl-carousel [options]="{items: 3, dots: false, navigation: false}" [items]="images" [carouselClasses]="['owl-theme', 'row', 'sliding']">
<div class="item" *ngFor="let image of images;let i = index">
<div class="thumbnail-image" [ngStyle]="">
typescript
import { Component, ViewChild } from '@angular/core';
import {OwlCarousel} from 'ng2-owl-carousel';
@component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app works!';
@ViewChild('owlElement') owlElement: OwlCarousel
images: Array = [0,1,2,3,4,5,6,7,8,9,10];
fun() {
this.owlElement.next([200])
//duration 200ms
}
}
from ngx-owl-carousel.
Update scripts key in your angular-cli.json to include jQuery
"scripts": [
"../node_modules/jquery/dist/jquery.js"
]
http://ayoubgdah.com/blog/using-jquery-with-angular-2-angular-cli/
from ngx-owl-carousel.
error was gone but data doesn't look like what I expect
Is this about owl carousel css file ?
from ngx-owl-carousel.
Yes you need to include owl carousel css file.
from ngx-owl-carousel.
Related Issues (20)
- Gulp: prod build issue with angular 2
- Get Direction of translate, translated
- Is this installation method same for angular 5? HOT 1
- I am Using ngx-owl-carousel, our client requirement is two rows sliding. is it possible can you please help on this HOT 1
- Reference to SliderOptions in Component doesn't work in Angular 6
- routerLink as well as click not working on cloned items when loop:true HOT 2
- how to attach event/callback? HOT 3
- Server Side Rendering Support HOT 4
- ngx-owl-carousel not working in angular 7.x and displaying no errors HOT 3
- resize images size on windows resize
- item filter-search issue owl carousel angular 6/7
- For Dynamic received images array worked first time only.after click next tab for caurosel is not working
- Firefox issue for full width banner
- Owl carousel option lazy loading does not work correctly
- Ivy Support HOT 3
- Navigation jumps 2 slides on iPhone 6 & 8 in Safari
- TO: standard true
- need to support progress bar
- mouseDrag, touchDrag and pullDrag doesn't work
- Owlcarousel is not working with angular 6.14.8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-owl-carousel.