Giter Club home page Giter Club logo

npnslider's People

Contributors

dependabot[bot] avatar npnm avatar npnsap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

npnslider's Issues

Npn Slider not accepting 0 for min

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.

Migration to latest version of Angular

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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

How can we change the color of slider ?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

*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">

Slider point don't drag

Hi,

My slider points don't move drag, its like the drag event not exists, no errors on console.

CODE:

<npn-slider [min]="1980" [max]="2019" (onChange)="onSliderChange($event)">

Obs: NpnSliderModule imported on AppModule
static
noerror

AnyHint?

Use of Browser Module throw Error

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]

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.