FREELessons: 67Length: 8.9 hours

• Overview
• Transcript

# 5.10 Working With the @HostListener Decorator

Let's wrap up this chapter with a look at the @HostListener directive. This allows us to add an event listener that targets something outside of the component itself—for example, the document.