Replies: 2 comments 23 replies
-
Use breakpoints to see if everything works like it should. $.mage.collapsible - is undefined in your case. Try this approach: define([
'jquery',
'collapsible'
], function ($, collapsible) {
'use strict';
$.widget('mage.amFaqCollapsible', collapsible, {
// Component alias to search in DOM structure
component: 'amFaqCollapsible',
_create: function () {
// WCAG compatibility
this.options.content = $(this.element).find(this.options.content);
this._super();
}
});
return $.mage.amFaqCollapsible;
}); |
Beta Was this translation helpful? Give feedback.
20 replies
-
Hey @IbrahimS2, Did you get it fully integrated with Breeze? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to get this module fully integrated, but I am hitting some walls, and I am not certain where I am failing:
It is not extending/working for some reason, any clue?
Beta Was this translation helpful? Give feedback.
All reactions