Custom Events | JavaScript Tutorial

Поділитися
Вставка
  • Опубліковано 19 вер 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!