diff --git a/projects/context/src/lib/tool/toolbar-item/toolbar-item.component.html b/projects/context/src/lib/tool/toolbar-item/toolbar-item.component.html index 2628019b8a..030dd91c71 100644 --- a/projects/context/src/lib/tool/toolbar-item/toolbar-item.component.html +++ b/projects/context/src/lib/tool/toolbar-item/toolbar-item.component.html @@ -2,7 +2,7 @@ tooltip-position="below" matTooltipShowDelay="500" [matTooltip]="tool.tooltip | translate" - (click)="click.emit(tool)" + (click)="trigger.emit(tool)" (select)="select.emit(tool)"> = new EventEmitter(); + @Output() trigger: EventEmitter = new EventEmitter(); @Output() select: EventEmitter = new EventEmitter(); constructor() {} diff --git a/projects/context/src/lib/tool/toolbar/toolbar.component.html b/projects/context/src/lib/tool/toolbar/toolbar.component.html index c8c9516216..a2893eeec7 100644 --- a/projects/context/src/lib/tool/toolbar/toolbar.component.html +++ b/projects/context/src/lib/tool/toolbar/toolbar.component.html @@ -7,7 +7,7 @@ [withIcon]="withIcon" [tool]=tool [selected]="selectedTool && selectedTool.name === tool.name" - (click)="click.emit(tool)" + (trigger)="trigger.emit(tool)" (select)="select.emit(tool)" (unselect)="unselect.emit(tool)"> diff --git a/projects/context/src/lib/tool/toolbar/toolbar.component.ts b/projects/context/src/lib/tool/toolbar/toolbar.component.ts index 3017ea6f73..a9bf83e272 100644 --- a/projects/context/src/lib/tool/toolbar/toolbar.component.ts +++ b/projects/context/src/lib/tool/toolbar/toolbar.component.ts @@ -64,7 +64,7 @@ export class ToolbarComponent { } private _selectedTool: Tool; - @Output() click = new EventEmitter(); + @Output() trigger = new EventEmitter(); @Output() select = new EventEmitter(); @Output() unselect = new EventEmitter();