Question · Angular course · Module 12: Security and Performance
@defer trigger on interaction
Which @defer trigger loads the block only after a user interaction (e.g. a click)?
Answer options
- @defer (on viewport)
- @defer (on timer(2000))
- @defer (on interaction)
- @defer (when isAdmin())
You can check the correct answer by solving this task in the CodeWorlds game.