0
I have a component in which a part of this component has that part:
<kendo-tabstrip-tab [title]="'Categoria'" [disabled]="ReferenciaMktId == '00000000-0000-0000-0000-000000000000'" [selected]="false">
<ng-template kendoTabContent (click)="carregaCategorias()">
<div class=' w-100'>
<form [formGroup]="formGroup">
<div class="row d-flex justify-content-center my-2">
<h5>Cadastro Geral da referência</h5>
</div>
<div class="d-flex justify-content-center mx-3">
<div *ngIf="formGroup.invalid" class="error-msg">
<div *ngIf="formGroup.touched" class="text-danger"><small>*Os
Campos em destaque são obrigatórios</small>
</div>
</div>
</div>
</form>
</div>
</ng-template>
</kendo-tabstrip-tab>
I need you to click on the Kendo-tabstrip-tab component I call a certain function, but nothing seems to work.
What I tried to:
<kendo-tabstrip-tab (click)="teste()" [title]="'Categoria'" [disabled]="ReferenciaMktId == '00000000-0000-0000-0000-000000000000'" [selected]="false">
also tried:
<kendo-tabstrip-tab (change)="teste()" [title]="'Categoria'" [disabled]="ReferenciaMktId == '00000000-0000-0000-0000-000000000000'" [selected]="false">
TS:
teste(){
console.log('entrou')
}
Clicking on the element shows nothing in the console.
Actually this tabSelect method is an event only of Kendo-tabstrip. On the site when you click "API Reference of the Tabstriptab Component" you are redirected to the Kendo-tabstrip. I tried to use tabSelect in tabstrip-tab, but it’s really a Kendo-tabstrip exclusive event. I had to use ngChange in this case.
– veroneseComS