You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if it would be possible to use this on elements w/in the component, similar to the viewport directive you've made where I can just add the directive anywhere.
Maybe for example w/in my component I add a :in-viewport-child='identifier' and then my watch of inViewport.now is passed that value as a second argument along with visible.
watch: {'inViewport.now'(visible,child){}
Or maybe a second type to watch, inViewport.child, this way the feature is a bit more backwards compatible.
I'd definitely find this pretty helpful.
The text was updated successfully, but these errors were encountered:
I wonder if it would be possible to use this on elements w/in the component, similar to the viewport directive you've made where I can just add the directive anywhere.
Maybe for example w/in my component I add a
:in-viewport-child='identifier'
and then mywatch
ofinViewport.now
is passed that value as a second argument along withvisible
.Or maybe a second type to watch,
inViewport.child
, this way the feature is a bit more backwards compatible.I'd definitely find this pretty helpful.
The text was updated successfully, but these errors were encountered: