Mixins with Plain JavaScript

Поділитися
Вставка
  • Опубліковано 31 січ 2018
  • How to add methods to a ES 6 class without multiple inheritance.
    See you at: webstandards.igniter, or even at airhacks.com
  • Наука та технологія

КОМЕНТАРІ • 9

  • @seandougan8593
    @seandougan8593 4 роки тому +2

    I like the nifty trick with dynamic extension - great for factories but is it still a mix-in if you modify the prototype chain?

  • @user-xw6jr7ue4b
    @user-xw6jr7ue4b Рік тому +1

    Exactly what I was looking for. Thanks!

  • @vancouverhp90
    @vancouverhp90 2 роки тому

    Thanks for the great tutorial! can we extend Mixin using *include* instead of using *extend* ? Since I would like to edit a method in a widget, but I also want to edit a method in Mixin class ...

  • @Wagazes
    @Wagazes Рік тому +1

    Thanks mate!

  • @rajashekhar433
    @rajashekhar433 4 роки тому

    Thank you

  • @nanoberzerk
    @nanoberzerk 9 місяців тому +2

    I didn't understand anything. Nothing is explained. You just wrote the code and that's it.

  • @JoshuaKisb
    @JoshuaKisb 4 роки тому +2

    font too smol

  • @sumer9999
    @sumer9999 5 років тому

    awesome intro

  • @cali4484
    @cali4484 Рік тому