angular-inviewport
angular-inviewport copied to clipboard
snInViewport immediately fires when page loads
angular 8. Unfortunately fires in page loads
"@agm/core": "^1.1.0",
"@agm/js-marker-clusterer": "^1.1.0",
"@angular/animations": "~8.2.13",
"@angular/cdk": "~8.2.3",
"@angular/common": "~8.2.13",
"@angular/compiler": "~8.2.13",
"@angular/core": "~8.2.13",
"@angular/flex-layout": "^8.0.0-beta.27",
"@angular/forms": "~8.2.13",
"@angular/material": "^8.2.3",
"@angular/platform-browser": "~8.2.13",
"@angular/platform-browser-dynamic": "~8.2.13",
"@angular/platform-server": "~8.2.13",
"@angular/router": "~8.2.13",
"@thisissoon/angular-inviewport": "^4.2.2",
"intersection-observer": "^0.10.0",
<div class="stats-count" snInViewport (inViewportChange)="handleStatsCount(card)">
<span [countUp]="card.count">0</span>
</div>
Please help... :)