H
H
HlushkoArthur2020-03-05 23:01:15
Angular
HlushkoArthur, 2020-03-05 23:01:15

How to do 2 comparisons in one ngIf?

How to make two comparisons? *ngIf="first || second" (thus, as I wrote - it doesn't work)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Shvedov, 2020-03-06
@mmmaaak

This is exactly what is done, so the error is elsewhere. example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question