justmaier / angular-ranger Goto Github PK
View Code? Open in Web Editor NEWA mobile friendly, super-fast, angular range slider.
A mobile friendly, super-fast, angular range slider.
Hi,
When you use "Single value", the value is not updated (position of bar is unchanged) when value change. (Missing watcher?)
Temp fix.: Add max-value like this:
<angular-ranger min="1" max="100" step="1" value="s.v" max-value="s.v">
Regards,
Hi,
If you want 'bower install' to work with the last update and allow other github users to install your package with bower, you need to register your package again.
Here is what you have to do: http://bower.io/docs/creating-packages/#register
Hope to see the update soon. :)
is it possible to use the ranger in a vertical view?
Hey dude,
I see you fixed the marker.css error on github, but your bower version is still 0.1.3. Is there a reason you aren't updating it?
Cheers
Is there a way to make only single value ranger?
Uncaught TypeError: Cannot read property 'css' of undefined
angular-ranger
as usual.css
function callfunction updatePosition(){
markers[moveTarget].css('left', currentX[moveTarget]+'px');
if(moveTarget == 'min'){
fill.css('left', currentX.min+'px');
}else{
fill.css('right', (maxPx - currentX.max)+'px');
}
}
function updatePositionPercentage(){
var percentages = {
min: (Math.abs(scope.min - scope.minValue)/range)*100,
max: (Math.abs(scope.min - scope.maxValue)/range)*100
};
markers.min.css('left', percentages.min+'%');
markers.max.css('left', percentages.max+'%');
fill.css({
'left': percentages.min+'%',
'right': (100-percentages.max)+'%'
});
}
if (markers[moveTarget]) ...
Why does package.json "main" point to gulp?
Shouldn't it point to 'angular-ranger.js'?
I want to fire a change event when the slider values have been changed. However, without ngModel, it seems I can not have a ngChange in the directive.
I don't want to use $watch in my situation because there are several sliders created by ngRepeat, and I wants to know which one fire the change event.
Is there clean way to do that?
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.