Skip to content

Commit 63cc89e

Browse files
vmlf01mgcrea
authored andcommitted
docs(affix): remove animation option references from affix docs
1 parent 729f86a commit 63cc89e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/affix/docs/affix.demo.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h4>The module also exposes an <code>$affix</code>service</h4>
3939

4040

4141
<h3>Options</h3>
42-
<p>Options can be passed via data-attributes on the directive or as an object hash to configure the service. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p>
42+
<p>Options can be passed via data-attributes on the directive or as an object hash to configure the service. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset-top=""</code>.</p>
4343
<div class="table-responsive">
4444
<table class="table table-bordered table-striped">
4545
<thead>
@@ -87,8 +87,7 @@ <h4>Default options</h4>
8787
angular.module('myApp')
8888
.config(function($affixProvider) {
8989
angular.extend($affixProvider.defaults, {
90-
animation: 'am-fade-and-slide-top',
91-
placement: 'top'
90+
offsetTop: 100
9291
});
9392
})
9493
</code>

0 commit comments

Comments
 (0)