A free, fast, and reliable CDN for vue-scroll-reveal. A Vue 3 directive to wrap @jlmake's excellent ScrollReveal library.
module.exports={plugins:[{src:'~/plugins/vue-scroll-reveal',ssr:false}],} While the code within this component (tserkov/vue-scroll-reveal) isMIT-licensed, ScrollReveal isGPL3-licensed, and requires the purchase of aCommercial Licenseif you want to use it in a closed-source project. ...
// main.js import VueScrollReveal from 'vue-scroll-reveal' Vue.use(VueScrollReveal, { class: 'v-scroll-reveal', duration: 1500, scale: 0.4, distance: '700px', reset: true, mobile: false, opatity: 0, }) <template> {{ infos.h2 }} {{ infos.h3 }} ...
If you intend to use my code as intended, then the effective license is GPL3, since ScrollReveal is required. However, publishingmy codeunder MIT allows it to be stripped/replaced/cannibalized, and that's 100% OK. If you think my interpretations are incorrect, by all means, educate me!
A free, fast, and reliable CDN for vue-scroll-reveal. A Vue 3 directive to wrap @jlmake's excellent ScrollReveal library.
It seems that when scrolling is not smooth, all content on the page will already be visible when you scroll down to it. If I scroll down a page, it might work fine initially, but then the bug is triggered, and all the remaining elements become visible. Usually this is only triggered ...
A Vue directive to wrap @jlmake's excellent ScrollReveal library. - Pull requests · vv13/vue-scroll-reveal
// In main.jsimportVueScrollRevealfrom'vue-scroll-reveal';Vue.use(VueScrollReveal);// You can also pass in default optionsVue.use(VueScrollReveal,{duration:800,scale:1,distance:'10px',mobile:false}); <!-- In a component --><template>Scroll down!Tada!Slightly late tada!</template>section...