diff options
Diffstat (limited to '3rdparty/js/angular-1.0.2/docs/partials/api/ng.$anchorScroll.html')
-rw-r--r-- | 3rdparty/js/angular-1.0.2/docs/partials/api/ng.$anchorScroll.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3rdparty/js/angular-1.0.2/docs/partials/api/ng.$anchorScroll.html b/3rdparty/js/angular-1.0.2/docs/partials/api/ng.$anchorScroll.html new file mode 100644 index 000000000..f9d11536a --- /dev/null +++ b/3rdparty/js/angular-1.0.2/docs/partials/api/ng.$anchorScroll.html @@ -0,0 +1,23 @@ +<h1><code ng:non-bindable="">$anchorScroll</code> +<span class="hint">(service in module <code ng:non-bindable="">ng</code> +)</span> +</h1> +<div><h2 id="Description">Description</h2> +<div class="description"><p>When called, it checks current value of <code>$location.hash()</code> and scroll to related element, +according to rules specified in +<a href="http://dev.w3.org/html5/spec/Overview.html#the-indicated-part-of-the-document">Html5 spec</a>.</p> + +<p>It also watches the <code>$location.hash()</code> and scroll whenever it changes to match any anchor. +This can be disabled by calling <code>$anchorScrollProvider.disableAutoScrolling()</code>.</p></div> +<h2 id="Dependencies">Dependencies</h2> +<ul class="dependencies"><li><code ng:non-bindable=""><a href="api/ng.$window">$window</a></code> +</li> +<li><code ng:non-bindable=""><a href="api/ng.$location">$location</a></code> +</li> +<li><code ng:non-bindable=""><a href="api/ng.$rootScope">$rootScope</a></code> +</li> +</ul> +<h2 id="Usage">Usage</h2> +<div class="usage"><pre class="prettyprint linenums">$anchorScroll();</pre> +</div> +</div> |