INIT
This commit is contained in:
16
assets/js/extended-ui-timeline.js
Normal file
16
assets/js/extended-ui-timeline.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Timeline
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
(function () {
|
||||
// Init Animation on scroll
|
||||
AOS.init({
|
||||
disable: function () {
|
||||
const maxWidth = 1024;
|
||||
return window.innerWidth < maxWidth;
|
||||
},
|
||||
once: true
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user