Javascript Mixins Explained in Magento 2
Автор: Know the Mage
Загружено: 2024-01-25
Просмотров: 633
A mixin is a class whose methods are added to another class resulting a new instance of component, consisting of modified version of target class. In magento we can create mixins for JS Components, JS Object, JS function and jquery widgets. We will explore with examples to demonstrate how we can create mixins in magento2 javascript.
Chapters:
0:00 Introduction
0:05 What are JavaScript mixins
0:49 Creating a mixin
1:00 Mixin examples
1:28 Extend UI Component
5:39 Extend JS Object
8:54 Extend jQuery widget
13:20 Overwriting a mixin
15:13 Extend JS function
18:08 Thank you
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: