summaryrefslogtreecommitdiffstats
path: root/3rdparty/js/angular-1.0.2/docs/partials/api/ng.directive:a.html
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-01-27 04:15:53 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-01-27 04:15:53 +0100
commitae7393db3d99a7ac223ae917129cccd9f49888e3 (patch)
tree7f54b72b0d01c38afd1378365a67e4f192922423 /3rdparty/js/angular-1.0.2/docs/partials/api/ng.directive:a.html
parent483784caa38bd6131405ac474347a215584e30a5 (diff)
merged the angularjs branch
Diffstat (limited to '3rdparty/js/angular-1.0.2/docs/partials/api/ng.directive:a.html')
-rw-r--r--3rdparty/js/angular-1.0.2/docs/partials/api/ng.directive:a.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/3rdparty/js/angular-1.0.2/docs/partials/api/ng.directive:a.html b/3rdparty/js/angular-1.0.2/docs/partials/api/ng.directive:a.html
new file mode 100644
index 000000000..b27035ecd
--- /dev/null
+++ b/3rdparty/js/angular-1.0.2/docs/partials/api/ng.directive:a.html
@@ -0,0 +1,16 @@
+<h1><code ng:non-bindable="">a</code>
+<span class="hint">(directive in module <code ng:non-bindable="">ng</code>
+)</span>
+</h1>
+<div><h2 id="Description">Description</h2>
+<div class="description"><p>Modifies the default behavior of html A tag, so that the default action is prevented when href
+attribute is empty.</p>
+
+<p>The reasoning for this change is to allow easy creation of action links with <code>ngClick</code> directive
+without changing the location or causing page reloads, e.g.:
+<a href="" ng-click="model.$save()">Save</a></p></div>
+<h2 id="Usage">Usage</h2>
+<div class="usage">as element (see <a href="guide/ie">IE restrictions</a>)<pre class="prettyprint linenums">&lt;a&gt;
+&lt;/a&gt;</pre>
+</div>
+</div>