decorators เหล่านี้ให้ directive หรือ component สามารถจัดการและตอบสนองต่อ host element ของมัน — element ที่ directive อยู่บน (หรือ root element ของ component เอง) ได้ @HostBinding ตั้งค่า properties/attributes บน host; @HostListener ฟังเหตุการณ์บน host
@HostBinding — bind กับ host properties/attributes
{ , } ;
({ : })
{
() isActive = ;
() color = ;
() role = ;
}
