Vue Block Inne Script Event Słuchacze
const app = new Vue({
el: '#app',
mounted() {
$(document).trigger('vue-loaded');
}
});
$(document).on('vue-loaded', function () {
const $toggle = $('.js-accordion-toggle');
$toggle.on('click', function () {
$(this).toggleClass('test');
});
});
Sparkling Seal