VSK
VSK

Reputation: 521

How to hide or disable buttons?

In my project I have two buttons called sign-in and sign-up button on my header.

What I want to achieve is,after successful sign-in i want to disable sign-in button and hide sign-up button.

Upvotes: 3

Views: 12403

Answers (2)

AlexGo
AlexGo

Reputation: 487

You can use to *ngIf="isLoggedIn" to hide any component

Upvotes: 0

Related Questions