Coder Social home page Coder Social logo

Improve module integration about ngx-slick HOT 4 CLOSED

devmark avatar devmark commented on July 28, 2024
Improve module integration

from ngx-slick.

Comments (4)

Taewa avatar Taewa commented on July 28, 2024 1

Hi @jguix
Which index.html you are talking about?

By the way, did you find another similar component?

from ngx-slick.

jguix avatar jguix commented on July 28, 2024

@devmark Please let me know if I can help you moving this issue. Otherwise I will need to search for another similar component.

from ngx-slick.

jguix avatar jguix commented on July 28, 2024

I was talking about the Installation section of the README, where it states that you should include jquery and ng-slick in the application as so:

Include jquery and slick css/js in your application :

<script src="//code.jquery.com/jquery-3.2.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css"/>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick-theme.css"/>
<script src="https://unpkg.com/[email protected]/slick/slick.js"></script>

Even though I succeeded to include the library configuring the angular.cli.json instead of modifying the index.html, we finally opted for a different solution.

Alternatives are:
https://github.com/zefoy/ngx-swiper-wrapper
https://github.com/sheikalthaf/ngx-carousel

from ngx-slick.

Taewa avatar Taewa commented on July 28, 2024

@jguix
Ok I see. Mine as well, I had to add them to angular.cli.json.

I am experiencing a performance issue because I have 30 ngx-slick in the same page.
I guess that this.carousel.addSlide(this); occurs a lot of re-painting process but not 100% sure. Or I have just too many items.

Thanks for your alternatives!

from ngx-slick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.