How to use the ng-devui/utils.stopPropagationIfExist function in ng-devui

To help you get started, we’ve selected a few ng-devui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DevCloudFE / ng-devui / devui / data-table / data-table-cell.component.ts View on Github external
onFinishCellEdit($event?: Event) {
    if (this.editModel !== 'cell') {
      return;
    }
    this.ngZone.run(() => {
      this.isCellEdit = false;
    });

    // tslint:disable-next-line:no-unused-expression
    this.documentClickSubscription && this.unSubscription(this.documentClickSubscription);
    // tslint:disable-next-line:no-unused-expression
    this.cellEditorClickSubscription && this.unSubscription(this.cellEditorClickSubscription);
    stopPropagationIfExist($event);

    this.dt.onCellEditEnd({
      rowIndex: this.rowIndex,
      colIndex: this.colIndex,
      column: this.column,
      rowItem: this.rowItem,
      cellComponent: this,
      rowComponent: this.rowComponent
    });
  }
github DevCloudFE / ng-devui / devui / data-table / tmpl / data-table-tmpls.component.ts View on Github external
stopPropagation($event: Event) {
    stopPropagationIfExist($event);
  }