Custom Events | JavaScript Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2024

ความคิดเห็น • 4

  • @constantine9074
    @constantine9074 ปีที่แล้ว +1

    Woow.. thats interesting

    • @OpenJavaScript
      @OpenJavaScript  ปีที่แล้ว +1

      Isn't it? I really like this as a solution for keeping code more maintainable, especially when there are lots of reactions (or might be) to something happening in your code.

    • @constantine9074
      @constantine9074 ปีที่แล้ว +1

      @@OpenJavaScript i like your practical videos... "how to" videos are more attractive and best for learning

    • @OpenJavaScript
      @OpenJavaScript  ปีที่แล้ว

      ​@@constantine9074 Thanks, I did think this one would be better following an example as the advantages of creating an event and responding to it over calling multiple functions is, I believe, most clear in practice.
      Glad you liked this aspect of the video!