2022-05-03 22:00:53 +02:00
|
|
|
'use strict'
|
2020-05-14 14:06:58 +02:00
|
|
|
|
2024-03-29 20:11:38 +01:00
|
|
|
import '../../scss/_cms.scss'
|
2023-02-20 15:55:17 +01:00
|
|
|
import "@a2nt/meta-lightbox-js/src/js/app";
|
2022-05-03 22:00:53 +02:00
|
|
|
// import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.image-position';
|
2023-02-20 15:55:17 +01:00
|
|
|
|
|
|
|
(function ($) {
|
2023-05-13 04:11:05 +02:00
|
|
|
$.entwine("ss", ($) => {
|
|
|
|
$('[data-toggle="lightbox"]').entwine({
|
|
|
|
onmatch() {
|
|
|
|
console.log("Init lightbox links at CMS");
|
|
|
|
window.dispatchEvent(new Event("MetaWindow.initLinks"));
|
|
|
|
},
|
2023-02-20 15:55:17 +01:00
|
|
|
});
|
2023-05-13 04:11:05 +02:00
|
|
|
});
|
2023-02-20 15:55:17 +01:00
|
|
|
})(jQuery);
|