Hai... Please help me to know how to implement an external js plugin (EG: owl-carousel) in my ionic page

Index.html:

script src=“assets/js/owl-carouse.js”>

item-list.html:

1 2 3 4 5

item-list.ts:

import * as $ from ‘jquery’;

ionViewDidLoad() {
$("#mylist").owlCarousel({
items:3,
touchDrag:true;
});
}

but this core not working…

i have installed jquery like this
npm install jquery --save
typings install dt~jquery --global --save

Hi, why would you do this? Ionic has his own slider :wink:

1 Like

oh? thanks, am just a beginner in this… and also help me to know how to implement an external plugin which ionic doesn’t have @mcihak

In most cases you do not need external plugins. If so, can you please give an example?

1 Like

Does this here help?

jquery-scrollbox ?