We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 701bc21 commit a2f6d35Copy full SHA for a2f6d35
1 file changed
Angular/src/app/app.component.ts
@@ -1,6 +1,5 @@
1
import { Component } from '@angular/core';
2
-import { DxButtonModule } from 'devextreme-angular/ui/button';
3
-import { ClickEvent } from 'devextreme/ui/button';
+import { DxButtonModule, DxButtonTypes } from 'devextreme-angular/ui/button';
4
5
@Component({
6
selector: 'app-root',
@@ -15,7 +14,7 @@ export class AppComponent {
15
14
16
buttonText = 'Click count: 0';
17
18
- onClick(_e: ClickEvent): void {
+ onClick(_e: DxButtonTypes.ClickEvent): void {
19
this.counter++;
20
this.buttonText = `Click count: ${this.counter}`;
21
}
0 commit comments