---
title: "Discussion on \"Angular Directives: Uses of HostBinding and HostListener.\" | Hashnode"
description: "Discussion on \"Angular Directives: Uses of HostBinding and HostListener.\". In this blog I am going to explain the different use cases of HostBinding and\nHostListener with neat example."
url: "https://hashnode.com/posts/angular-directives-uses-of-hostbinding-and-hostlistener/621f2bb0f1a32619afa3844c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Angular Directives: Uses of HostBinding and HostListener.](https://syedkabir.hashnode.dev/angular-directives-uses-of-hostbinding-and-hostlistener?utm_source=hashnode&utm_medium=feed)

In this blog I am going to explain the different use cases of HostBinding and HostListener with neat example.

Mar 2, 2022 · 2 min read · syedkabir.hashnode.dev  
Read the article

-   [#angular](https://hashnode.com/tag/angular)
-   [#directive](https://hashnode.com/tag/directive)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[SyedKabir](https://hashnode.com/@syedkabir97)

@syedkabir97

  
[View profile](https://hashnode.com/@syedkabir97)

Full Stack Developer

Hi there! Learning in public is my theme. I am developing myself as a good software developer and I am an amateur tech blogger.

## Responses 1

Markdown supported · ⌘↵ to post

[Samet ÇELİKBIÇAK](https://hashnode.com/@sametcelikbicak)

[Mar 2, 2022](https://hashnode.com/posts/angular-directives-uses-of-hostbinding-and-hostlistener/621f2bb0f1a32619afa3844c/comment/621f592daa0b9716581fa84e)

Very nice explanation thanks 👏
