Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private onSelect(evt: SelectionChangeEventArgs) {
if (evt.source === this._selectionHandler.name)
return;
if (evt.changeType === SelectionChangeType.Clear || evt.changeType === SelectionChangeType.Replace)
this.cancelOngoingSubscriptions();
this.selectNodes();
}