| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Angular2 @Component which automatically scrolls to the end of a div on the addition of new elements inside the div.
import ScrollGlue from 'angular2-scroll-glue'
@Component({
selector: 'my-app',
providers: [],
template: template,
directives: [ScrollGlue]
}) <div scroll-glue>
<ul>
<li *ngFor="#item of listItems">
{{ item }}
</li>
</ul>
</div>| Back | FazBrowse Home | New Git URL |