Question · Angular course · Module 2: Components

The @empty Block

Which block do we add to @for to display content when the collection is empty?

Answer options

  • @else
  • @empty
  • @default
  • @none
Show the answer

Correct answer:

  • @empty