Skip to main content
edited tags
Link
Fabian Schmengler
  • 66.2k
  • 25
  • 191
  • 422
Source Link
g5wx
  • 681
  • 1
  • 10
  • 21

Magento 2 - updating UI library javascript

How can i override default Mage 2 UI js functions? For example: I have setup accordion layered navigation to show/hide the filters in the sidebar (like the one in Luma theme). Default collapsible.js within UI library uses show() / hide(), but i wish to override this with jquery fadeIn / fadeOut methods.

Is there a way to override certain UI js parts without editing the core library, probably within template so the changes stay local?