Commit c37a43ec authored by Rafal Zajac's avatar Rafal Zajac

Document reCalcViewDimensions and rzSliderForceRender

parent fcfd8267
......@@ -116,6 +116,13 @@ $scope.translate = function(value)
rz-slider-translate="translate"></rzslider>
```
## Slider events
To force slider to recalculate dimensions broadcast **reCalcViewDimensions** event from parent scope. This is useful for example when you use slider with tabs - see *demo/tabs.html* example.
You can also force redraw with **rzSliderForceRender** event.
## Plunker example
[http://embed.plnkr.co/53AUdB/preview](http://embed.plnkr.co/53AUdB/preview)
......
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