Directiva de desplazamiento (scrolling)
La directiva v-scroll
te permite proveer callbacks cuando la ventana o un elemento específico son desplazados.
Uso
The default behavior is to bind to the window. If no additional configuration options are needed, you can simply pass your callback function.
API
Nombre
arg:target
Default
window
Type
String
Directives.Scrolling.
Nombre
value
Signature
() => {}
Type
Function
Directives.Scrolling.
Ejemplos
Scroll with options
For a more fine tuned approach, you can designate the target to bind the scroll event listener.