cloud9carousel
cloud9carousel copied to clipboard
How to integrate cloud9carousel with Angular 2
Do we have Angular2 version of the same ?
I'm not an expert on Angular 2 integration. If you try it, let us know!
@specious Jquery Dependency is necessary? is there a version without jquery?
I'm curious to know if there are similar carousels based on other technologies. However, this one is a jQuery plugin at its very core.
I successfully used it in my angular 4 project, using the demo example. using this steps.
-
download the files (images, js, css) and place the assets folder
-
include the scripts in .angular-cli.json "scripts": [... "assets/js/lib/jquery.js", "assets/js/lib/jquery.reflection.js", "assets/js/lib/jquery.cloud9carousel.js" ]
-
create new component with angular cli: ng generate component components/cloud9carosel
-
your component/cloud9carosel.component.html
Please Select your Vehicle Type.
I used it successfully with angular 4
I successfully added it in angular 9 with static images. the problem is when binding *ngFor it's not displaying properly..
<img *ngFor="let x of certificates; let i = index;" style="width: 384px; height: 238px;" class="cloud9-item" src="https://bit.ly/3b7iFm3" [alt]="'Item #'+i" />