![Dropdown not working when I use @HostBinding inside directive.Also tried using class.show. I have imported the directive to app.module.ts. : r/ angular Dropdown not working when I use @HostBinding inside directive.Also tried using class.show. I have imported the directive to app.module.ts. : r/ angular](https://i.redd.it/wjaytxdce6771.jpg)
Dropdown not working when I use @HostBinding inside directive.Also tried using class.show. I have imported the directive to app.module.ts. : r/ angular
HostBinding('class') syntax to honor hosts's existing classes · Issue #29188 · angular/angular · GitHub
![51 Property Binding vs @HostBinding | Creating & Using Custom Directive | A Complete Angular Course - YouTube 51 Property Binding vs @HostBinding | Creating & Using Custom Directive | A Complete Angular Course - YouTube](https://i.ytimg.com/vi/Hu9-y8awTyU/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDRJgGYaHt2kQ9wqC30G9x8bmF_7Q)
51 Property Binding vs @HostBinding | Creating & Using Custom Directive | A Complete Angular Course - YouTube
![50 @HostBinding in Angular | Creating & Using Custom Directive | A Complete Angular Course - YouTube 50 @HostBinding in Angular | Creating & Using Custom Directive | A Complete Angular Course - YouTube](https://i.ytimg.com/vi/AulytLapE7U/sddefault.jpg)