Hey everyone! I just started using Ionic and I'm wondering how to pass the value of a label text from HTML to the .ts file. Here's a snippet of my code:
<div class="box" (click)="openChatBot()"></div>
<ion-label>LEADERSHIP</ion-label>
Can anyone help me figure out how to pass the text 'LEADERSHIP' from the HTML to the .ts file on click event? Thanks in advance!