Jony/assets/js/joe.archive.js
2021-02-04 20:17:05 +08:00

17 lines
367 B
JavaScript

/* 搜索页面需要用到的JS */
document.addEventListener('DOMContentLoaded', () => {
/* 激活列表特效 */
{
const wow = $('.joe_archive__list').attr('data-wow')
if (wow !== 'off' && wow)
new WOW({
boxClass: 'wow',
animateClass: `animated ${wow}`,
offset: 0,
mobile: true,
live: true,
scrollContainer: null
}).init()
}
})