field video on paragraphe source
This commit is contained in:
@@ -26,7 +26,7 @@ export default {
|
||||
mounted () {
|
||||
// console.log('cartouche layout mounted', this);
|
||||
this.$refs.cartouche_main.addEventListener('scroll', (event) => {
|
||||
console.log('main is scrolling', event);
|
||||
// console.log('main is scrolling', event);
|
||||
let $main = event.target;
|
||||
let scrolled = $main.scrollTop > 0;
|
||||
this.$emit('main_scrolled', scrolled);
|
||||
|
||||
Reference in New Issue
Block a user