Comments (1)
I think that is not a issue,
You can to do it to many ways
for example:
- In html, if the .item-carousel is static, you can set a click event in the center carousel item.
- Or if is content to load is dynamic you can set a click event in all items and in your controller check if is the center or not , knowing the length of content and passing the index of item clicked etc..
- Or in html check if is the center item with *ngIf and generate a tag with click or not if it is.
I close the issue because I think this is not a issue but the people can help you.
If do you like the library, you can to give me a star =)
thanks
from angular2-carousel.
Related Issues (13)
- unable to get styles in firefox,IE HOT 9
- Removing a item from a carousel HOT 3
- Angular 7 HOT 3
- Looping images available HOT 1
- Error NgModule.declarations in angular 8 HOT 5
- Problem in IE HOT 2
- activeIndex does not exist on type HOT 9
- Looping not working HOT 2
- Support SSR HOT 1
- Bug when third item reached HOT 6
- Carousel is not working with ngFor HOT 21
- Initially it's not working correctly. But after resizing it's coming perfectly. Why so? HOT 10
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 angular2-carousel.