یہ decorators ایک directive یا component کو اپنے host element سے منسلک کریں — یہ element جس پر directive بیٹھی ہے (یا component کا اپنا root element)۔ @HostBinding host پر properties/attributes سیٹ کرتی ہے؛ @HostListener اس پر events سننے کے لیے۔
@HostBinding — host properties/attributes سے bind کریں
{ , } ;
({ : })
{
() isActive = ;
() color = ;
() role = ;
}
