npnm / npnslider Goto Github PK
View Code? Open in Web Editor NEWA multi range slider component using Angular
Home Page: https://npnm.github.io/NpnSlider
License: MIT License
A multi range slider component using Angular
Home Page: https://npnm.github.io/NpnSlider
License: MIT License
The sliders do not seem to work on Chrome using Android.
Quite often - slider point doesn't follow to mouse poiner and when I move mouse, point moves quite far from pointer ...
Can you please add documentation how to change the style of the slider ?
Hi Nupin,
When I use [min]=0, the slider is not working at the first load.
Here is the example I am using:
<npn-slider [min]="0" [max]="24" disabled="{{!filtersEnabled}}" [showStepIndicator]="true" (onChange)="onHourChangeEnd($event)"> </npn-slider>
Please advise.
Describe the bug
A clear and concise description of what the bug is.
can we migrate this to latest version of Angular
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
*Additional context
.scss file -
.custom-slider{
&.npn-slider{
.slider{
.bar{
height: 30px;
}
}
}
}
.html file -
<npn-slider class="custom-slider" [min]="18" [max]="90" [hide-values]="true" (onChange)="onSliderChange($event)" showStepIndicator=true
[minSelected]=25 [maxSelected]=60 [step]="1" [showStepIndicator]="true">
What shall i import and where, to get rid of this error?
Describe the bug
The slider is not keyboard accessible.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The slider gets the focus and follows a11y guidelines. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/slider_role
Desktop (please complete the following information):
The Slider uses Browser Module instead of Common Module and thus throws below error
Error: Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead. BrowserModule@http://localhost:4200/vendor.js:67606:28 _createClass@http://localhost:4200/vendor.js:47231:28 createProviderInstance@http://localhost:4200/vendor.js:47203:38 initNgModule@http://localhost:4200/vendor.js:47136:55 NgModuleRef@http://localhost:4200/vendor.js:47862:21 createNgModuleRef@http://localhost:4200/vendor.js:47851:28 http://localhost:4200/vendor.js:71474:40 _next@http://localhost:4200/vendor.js:126370:39 next@http://localhost:4200/vendor.js:121084:23 http://localhost:4200/vendor.js:131858:32 onInvoke@http://localhost:4200/vendor.js:42637:39 run@http://localhost:4200/polyfills.js:2472:49 http://localhost:4200/polyfills.js:3211:37 onInvokeTask@http://localhost:4200/vendor.js:42628:43 runTask@http://localhost:4200/polyfills.js:2517:57 drainMicroTaskQueue@http://localhost:4200/polyfills.js:2923:42 promiseReactionJob@[native code]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.