Using @HostBinding with signals

Поділитися
Вставка
  • Опубліковано 17 жов 2024

КОМЕНТАРІ • 3

  • @aliadouche8532
    @aliadouche8532 3 місяці тому +1

    Thank you for this video.
    It is also possible to use @Component({host: {'[class.complete]': 'isComplete()'}})

  • @Profanumable
    @Profanumable 2 місяці тому +1

    Why would i use it when i can use host property on Component decorator?

    • @briantreese
      @briantreese  2 місяці тому +1

      Yeah, this isn’t really needed anymore