Update to Angular 1.1.4
This commit is contained in:
parent
72a485d6e8
commit
f5fc1369ad
585 changed files with 48055 additions and 3041 deletions
6
lib/angular/docs/partials/api/ng.directive:a.html
Normal file → Executable file
6
lib/angular/docs/partials/api/ng.directive:a.html
Normal file → Executable file
|
@ -2,15 +2,15 @@
|
|||
<span class="hint">(directive in module <code ng:non-bindable="">ng</code>
|
||||
)</span>
|
||||
</h1>
|
||||
<div><h2 id="Description">Description</h2>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/a.js" class="improve-docs btn btn-primary">Improve this doc</a><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>
|
||||
<code><a href="" ng-click="model.$save()">Save</a></code></p></div>
|
||||
<h2 id="Usage">Usage</h2>
|
||||
<div class="usage">as element (see <a href="guide/ie">IE restrictions</a>)<pre class="prettyprint linenums"><a>
|
||||
<div class="usage"><p>This directive can be used as custom element, but we aware of <a href="guide/ie">IE restrictions</a>.</p>as element:<pre class="prettyprint linenums"><a>
|
||||
</a></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue