Code Monkey home page Code Monkey logo

Comments (13)

jfcere avatar jfcere commented on May 26, 2024 1

I've been able to reproduce the problem on Plunker with UMD bundle.

I'll take a look at it this weekend, thanks for reporting the issue.

from ngx-malihu-scrollbar.

jfcere avatar jfcere commented on May 26, 2024 1

Plunker is functional after adding jQuery and Malihu Custom Scrollbar javascript files.

Have you guys included those in your application as well?

As the error seems to point in the direction that it could not find mCustomScrollbar jQuery extension method.

from ngx-malihu-scrollbar.

jfcere avatar jfcere commented on May 26, 2024 1

Closing as it seems to work for the majority of people, please reopen if there is anything.

from ngx-malihu-scrollbar.

nilasissen avatar nilasissen commented on May 26, 2024

yup facing same issue

from ngx-malihu-scrollbar.

nilasissen avatar nilasissen commented on May 26, 2024

thanks for seeing it ! yes i have followed your guide and jquery & malihu js is included in my project . Thanks for the plunker let me check it first

from ngx-malihu-scrollbar.

unikzforce avatar unikzforce commented on May 26, 2024

mine too,
anyway the plunkr is broken

from ngx-malihu-scrollbar.

jfcere avatar jfcere commented on May 26, 2024

@unikzforce sorry ... i updated the link in the comment.

from ngx-malihu-scrollbar.

unikzforce avatar unikzforce commented on May 26, 2024

thank you very much @jfcere ..
but my problem with the "mCustomScrollbar is not a function" is not resolved yet.
would you please guide me how to setup this lib with angular-cli and webpack .. i've just followed the instructions but still could not get it to work. could you please setup a working plunkr using webpack and angular-cli instead of SystemJs?

from ngx-malihu-scrollbar.

jfcere avatar jfcere commented on May 26, 2024

Unfortunately plunker only works with SystemJS and does not work with Angular-CLI or webpack.

Angular-CLI
Follow the installation section of the readme.md and/or take a look at the repository as it includes a demo-app already setup with Angular-CLI.

SystemJS
For SystemJS you can refer to the plunker example that uses CDN for jQuery and malihu-custom-scrollbar-plugin.

Webpack only
I do not have an example yet for people using webpack only (without Angular-CLI). I'll try to work on that in a near future.

from ngx-malihu-scrollbar.

jfcere avatar jfcere commented on May 26, 2024

@nilasissen @unikzforce I'd like to help more about the issue but my attempts have all succeeded on my side with both SystemJS and Angular-CLI.

Can any of you provide a repository that has the issue?

from ngx-malihu-scrollbar.

nilasissen avatar nilasissen commented on May 26, 2024

@jfcere i am not sure wat was the issue but after using ur plunkr it worked for me currently i am using it and it works fine. @unikzforce did u import it as service ? u have to import
import { MalihuScrollbarModule,MalihuScrollbarService } from 'ngx-malihu-scrollbar';
both.

from ngx-malihu-scrollbar.

jfcere avatar jfcere commented on May 26, 2024

@unikzforce any update following previous comment?

from ngx-malihu-scrollbar.

einer20 avatar einer20 commented on May 26, 2024

Restarting the ng serve worked for me.

from ngx-malihu-scrollbar.

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.