I have 3 buttons:
<div>
<!-- 1st button -->
<button md-button
(click)="setState(0)"
class="md-primary">Button 1
</button>
<!-- 2nd button -->
<button md-button
(click)="setState(1)"
class="md-primary">Button 2
</button>
<!-- 3rd button -->
<button md-button
(click)="setState(2)"
class="md-primary">Button 3
</button>
</div>
this just present me three buttons, and im doing actions based on the click.
now I want to indicate which button is currently clicked so I wanted to add underline for the button, how can I do that?
it should be visible untill a new button was clicked and then the line should be moved to the newely clicked button
thanks