diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-01-27 04:15:53 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-01-27 04:15:53 +0100 |
commit | ae7393db3d99a7ac223ae917129cccd9f49888e3 (patch) | |
tree | 7f54b72b0d01c38afd1378365a67e4f192922423 /3rdparty/js/angular-1.0.2/docs/partials/api/ng.$anchorScroll.html | |
parent | 483784caa38bd6131405ac474347a215584e30a5 (diff) |
merged the angularjs branch
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> |