ये decorators एक directive या component को अपने host element को हेराफेरी करने और उसके लिए जवाब देने देते हैं — वह element जिस पर directive बैठा है (या component का अपना root element)। @HostBinding host पर properties/attributes सेट करता है; @HostListener इस पर events को सुनता है।
@HostBinding — host properties/attributes को bind करें
{ , } ;
({ : })
{
() isActive = ;
() color = ;
() role = ;
}
