Jony/assets/js/joe.archive.js
2021-01-27 13:00:55 +08:00

18 lines
532 B
JavaScript

console.time('Archive.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();
}
console.timeEnd('Archive.js执行时长');
});