Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jquery support #106

Closed
robgalvinco opened this issue Dec 19, 2022 · 4 comments
Closed

jquery support #106

robgalvinco opened this issue Dec 19, 2022 · 4 comments

Comments

@robgalvinco
Copy link

Is there anyway to get this to work on an HTML page that uses jQuery?

@sneas
Copy link
Owner

sneas commented Dec 19, 2022

This library should not conflict with jQuery. Here are installation steps: https://github.com/sneas/img-comparison-slider#html

@robgalvinco
Copy link
Author

Thanks for quick reply - is there some method to initialize it? I placed code on a page and nothing happened

@sneas
Copy link
Owner

sneas commented Dec 20, 2022

No, this library implements Web Components standarts, thus there is no need in a special initialization function to be called (in fact, there is no such a function).

Perhaps, I can help you to resolve the problem if you show me the non-working example.

@sneas
Copy link
Owner

sneas commented Dec 20, 2022

Here is the the CodePen with a working example https://codepen.io/sneas/pen/JjBoPEO

@sneas sneas closed this as completed Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants