Commit 10011b37 authored by Rafal Zajac's avatar Rafal Zajac

Fix #54

parent c423dc83
......@@ -157,27 +157,6 @@ $scope.$on("slideEnded", function() {
I use Slider on couple of my projects and it's being tested on desktop versions of Chrome, Firefox, Safari, IE 9/10.
Slider is also tested on Android and iPhone using all browsers available on those platforms.
## Changelog
**v0.1.3**
Forked from this version.
**v0.1.4**
Touch events were broken if jQuery was used with Angular instead of jQuery lite. This version fixes them (Jusas).
**v0.1.5**
Added 'slideEnded' event emitted on slider knob dragging ended (Jusas).
**v0.1.6**
- Added github project page
- Updated to latest angular
- Updated CSS styles (Angelin Sirbu)
## Disclaimer
This project is based on [https://github.com/prajwalkman/angular-slider](https://github.com/prajwalkman/angular-slider). It has been rewritten from scratch in JavaScript
......
{
"name": "angularjs-slider",
"version": "0.1.15",
"version": "0.1.16",
"homepage": "https://github.com/rzajac/angularjs-slider",
"authors": [
"Rafal Zajac <rzajac@gmail.com>",
......
......@@ -30,7 +30,7 @@
rz-slider-model="priceSlider.min"
rz-slider-high="priceSlider.max"
rz-slider-step="1"
rz-slider-tpl-url="../rzSliderTpl.html"></rzslider>
rz-slider-tpl-url="rzSliderTpl.html"></rzslider>
</article>
<article>
......@@ -42,7 +42,7 @@
rz-slider-ceil="450"
rz-slider-model="priceSlider2"
rz-slider-translate="translate"
rz-slider-tpl-url="../rzSliderTpl.html"></rzslider>
rz-slider-tpl-url="rzSliderTpl.html"></rzslider>
</article>
<article>
......@@ -53,7 +53,7 @@
rz-slider-floor="50"
rz-slider-ceil="450"
rz-slider-always-show-bar="true"
rz-slider-tpl-url="../rzSliderTpl.html"></rzslider>
rz-slider-tpl-url="rzSliderTpl.html"></rzslider>
</article>
<article>
......@@ -64,7 +64,7 @@
rz-slider-ceil="letterMax"
rz-slider-model="letter"
rz-slider-translate="alphabetTranslate"
rz-slider-tpl-url="../rzSliderTpl.html"></rzslider>
rz-slider-tpl-url="rzSliderTpl.html"></rzslider>
</article>
</div>
......
/*! jusas-angularjs-slider - v0.1.15 - (c) Rafal Zajac <rzajac@gmail.com>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com>, https://github.com/rzajac/angularjs-slider.git - 2015-05-25 */
/*! jusas-angularjs-slider - v0.1.16 - (c) Rafal Zajac <rzajac@gmail.com>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com>, https://github.com/rzajac/angularjs-slider.git - 2015-05-26 */
rzslider{position:relative;display:inline-block;width:100%;height:4px;margin:30px 0 15px 0;vertical-align:middle}rzslider span{position:absolute;display:inline-block;white-space:nowrap}rzslider span.rz-base{width:100%;height:100%;padding:0}rzslider span.rz-bar{z-index:0;width:100%;height:100%;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}rzslider span.rz-bar.rz-selection{z-index:1;width:0;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}rzslider span.rz-pointer{top:-14px;z-index:2;width:32px;height:32px;cursor:pointer;background-color:#0db9f0;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}rzslider span.rz-pointer:after{position:absolute;top:12px;left:12px;width:8px;height:8px;background:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;content:''}rzslider span.rz-pointer:hover:after{background-color:#fff}rzslider span.rz-pointer.rz-active:after{background-color:#451aff}rzslider span.rz-bubble{top:-32px;padding:1px 3px;color:#55637d;cursor:default}rzslider span.rz-bubble.rz-selection{top:16px}rzslider span.rz-bubble.rz-limit{color:#55637d}
\ No newline at end of file
This diff is collapsed.
{
"name": "jusas-angularjs-slider",
"version": "0.1.15",
"version": "0.1.16",
"description": "AngularJS slider directive with no external dependencies. Mobile friendly!.",
"main": "rzslider.js",
"repository": {
......
......@@ -4,7 +4,7 @@
* (c) Rafal Zajac <rzajac@gmail.com>
* http://github.com/rzajac/angularjs-slider
*
* Version: v0.1.15
* Version: v0.1.16
*
* Licensed under the MIT license
*/
......@@ -481,6 +481,7 @@ function throttle(func, wait, options) {
// Hide max handle
this.maxH.rzAlwaysHide = true;
this.maxH[0].style.zIndex = '-1000';
this.hideEl(this.maxH);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment