For example, a slider:
In normal HTML/js I will include in my html this two lines (for example, a jquery slider):
How do I achieve this in ionic 2 / angular 2.
- In my case, I want to use datatables
I found this
Is it possible, and how to do it, to use angular 2 plugins
There’s literally exact step by step instructions on how to install and use it in the link you posted…so…not really sure what you want from us…
My 2nd question could be rephrased as:
Is it the same to talk about about angular 2 and ionic 2?
If I follow steps in the link, nothing will fail in a ionic project?
Ah, okay, yes, rephrasing it helped. For the most part yes, you can talk about them as if they were the same. Ionic 2 uses Angular 2, and provides extra styles and components to make mobile app development easier.
There are some special cases where Ionic 2 differes, like it doesn’t user the Angular router, it uses it’s own Navigation Controller, but those details aside they are one in the same.
Thank you @rapropos Useful link.
But… Do I have to choose a plugin/package that is available here, is that right?:
I have realized that the following two lines in my first question did not show up
So for example, this one I have mentiones.
I have to look it up in npm, and if it’s not there, i can’t use it ?
If not, can someone make or put here a comprehensive tutorial?
I leave thi link also, for other readers:
Yes I know.
I put slider as an example. But what if I want another slider?
Or a component that is not present in ionic (I do not have an example right now)