How to create range slider (Angular Material) in Angular 4?

最后都变了- 提交于 2020-01-14 07:38:48

问题


As a default, there is no range slider in Angular Material. Are there any ways use range slider in Angular 4?


回答1:


As for me https://www.npmjs.com/package/ng2-nouislider the best for Angular 4.




回答2:


use my range slider its based on material angular slider libry and its modifyd by me repository have simple angular 7 application with sample range slider https://github.com/dinukasaminda/angular-material-range-slider




回答3:


Angular 8

I was facing the same issue of creating a range slider in angular material. And I just found it.

Here is the stackblitz code snippet of solution which is not mine but its awesome.

And here is the link to ng5-slider package which is used in the above example. ng5-slider is the Angular version(2 or above) of rzslider




回答4:


Try this jQuery library, Demo.

That is its wrapper: ng2-ion-range-slider.

It is the best library I have find, and it worked for me in Angular 5

If you are using webpack you can refer to my answer .



来源:https://stackoverflow.com/questions/44155862/how-to-create-range-slider-angular-material-in-angular-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!