Created
June 10, 2019 06:50
-
-
Save NetanelBasal/c1a5a911477f32ca063e6b54065ad6df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: 'app-tweets', | |
template: ` | |
<infinite-scroll (scrolled)="onScroll()" style="height: 400px; overflow-y: auto"> | |
... | |
</infinite-scroll> | |
` | |
}) | |
export class TweetsComponent implements OnInit { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment