Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onWaypointChange(event) {
if (event.currentPosition === Waypoint.above || event.currentPosition === Waypoint.inside) {
this.loadData();
}
}