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

Can't implement to Angular 7 project #22

Open
nikoladimitrovv opened this issue Feb 20, 2020 · 0 comments
Open

Can't implement to Angular 7 project #22

nikoladimitrovv opened this issue Feb 20, 2020 · 0 comments

Comments

@nikoladimitrovv
Copy link

Hi,

I was trying to implement the rangetouch to my Angular 7 project but i couldn't succeed maybe you have some ideas that might help me.

I installed the rangetouch using npm install rangetouch and when i tried to import it into my component (like its on npmjs.com - import RangeTouch from 'rangetouch') i got an error saying:

Could not find declaration file for module 'rangetouch'. Try installing @types/rangetouch
image

I tried going for npm install @types/rangetouch but got some errors

image

I tried including the script directly into the HTML using <script> tag, and i saw there was a difference in the HTMLInputElement, the slider took some inline css after including the script in the HTML but im not sure if thats all it needs to be done, i tried the slider on my iPhone 6s after deploying like that and it still doesn't work.

Do you have any ideas about this?
I'm not sure if im posting this on the right place,

Thanks in advance

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

1 participant