Magic Scroll Js

ScrollMagic plugin for Vue.js Dark souls 3 mac download.

Install

  1. Lesson Code: to program a header that magically changes as the user scrolls.
  2. Scroll to a numeric scroll offset, a DOM element, the start of a scene or provide an alternate method for: update: Updates the controller params and calls updateScene on every scene, that is attached to the controller. UpdateScene: Update one ore more scene(s) according to the scroll position of the container.

NPM

Usage

Scroll magic anime js

Magic Scroll Jse

mount with global

mount with nuxt.js/ssr

ScrollMagic is Wordpress version of ScrollMagic.io jquery. Scroll Magic helps you to easily react to the user’s current scroll position. It’s the perfect plugin for you if you want to Animate based on scroll position – either trigger an animation or synchronize it to the scrollbar movement (like a playback scrub control).

Once installed, the plugin add $scrollmagic to Vue.prototype and create global controller, to make him easily accessibles in every components.

Documentation

See ScrollMagic API and Example

Configure controller

NOTE: Container is always a window.

Set custom scollTo handle

Magic Scroll Json

Scroll

Set custom scrollTo handle with GSAP animation

Methods

NameDescription
attachToCreate scrollmagic controller to custom element. After creating the controller, you have access to your own Scrollmagic.Controller methods.
sceneA Scene defines where the controller should react and how.
addSceneAdd one ore more scene(s) to the controller.
destroyDestroy the controller, all scenes and everything.
removeSceneRemove one ore more scene(s) from the controller.
scrollToScroll to a numeric scroll offset, a DOM element, the start of a scene or provide an alternate method for
updateUpdates the controller params and calls updateScene on every scene, that is attached to the controller.
updateSceneUpdate one ore more scene(s) according to the scroll position of the container.
enabledGet or Set the current enabled state of the controller.
loglevelGet or Set the current loglevel option value.
scrollPosGet the current scrollPosition or Set a new method to calculate it. When used as a setter this method prodes a
infoGet all infos or one in particular

NOTE: In package adds plugins 'gsap.animation' and 'debug.addIndicators'

Example

Magic Scroll Js

Development

Compiles and hot-reloads

Compiles and minifies demo

Compiles and minifies library

Magic Scroll Jsa

Lints and fixes files

Magic Scroll Jss

Author

License