scrollama | Scrollytelling with IntersectionObserver | Frontend Framework library

 by   russellgoldenberg JavaScript Version: 3.2.0 License: MIT

kandi X-RAY | scrollama Summary

kandi X-RAY | scrollama Summary

scrollama is a JavaScript library typically used in User Interface, Frontend Framework, Angular, React applications. scrollama has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i scrollama' or download it from GitHub, npm.

Scrollama is a modern & lightweight JavaScript library for scrollytelling using IntersectionObserver in favor of scroll events.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              scrollama has a medium active ecosystem.
              It has 5140 star(s) with 243 fork(s). There are 77 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 20 open issues and 78 have been closed. On average issues are closed in 172 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of scrollama is 3.2.0

            kandi-Quality Quality

              scrollama has 0 bugs and 0 code smells.

            kandi-Security Security

              scrollama has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              scrollama code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              scrollama is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              scrollama releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              Installation instructions, examples and code snippets are available.
              scrollama saves you 953 person hours of effort in developing the same functionality from scratch.
              It has 2172 lines of code, 0 functions and 19 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed scrollama and discovered the below as its top functions. This is intended to give you an instant insight into scrollama implemented functionality, and help decide if they suit your requirements.
            • ScrollBar function .
            • Notify the user
            • Creates a div element and adds it to the DOM .
            • Performs a step action on a element .
            • Observes an update step .
            • Notifies the step of a step
            • Create a progress update function on an step .
            • Parse an offset value in pixels .
            • Selects an element .
            • called when a step is resized
            Get all kandi verified functions for this library.

            scrollama Key Features

            No Key Features are available at this moment for scrollama.

            scrollama Examples and Code Snippets

            No Code Snippets are available at this moment for scrollama.

            Community Discussions

            QUESTION

            Nuxt Hot reloading for new components Is not working
            Asked 2020-Jan-03 at 01:34

            Nuxt hot reloading somehow works for old components, but any new components that I have created today, doesn't seem to be watched by the app, and doesn't reload. I have to restart the app each time to see the changes applied to these new files.

            The machine that I am using is MacOs latest Mojave system. I realized people might ask for the package.json file so here is the file

            ...

            ANSWER

            Answered 2019-Jun-16 at 17:49

            Oh I got it, it seems like there was a misspelling in importing of the component, and thus wasn't connected to the main nuxt network, meaning the component doesn't adhere to the hot reloading watched file.

            Source https://stackoverflow.com/questions/56620999

            QUESTION

            Most minimalist way to build a scroller for interactive storytelling?
            Asked 2019-Nov-15 at 19:37

            I'm trying to build a static but responsive storytelling HTML website. My goal is to achieve something likes this:

            Text on the left, *.jpg image with a fixed position on the right. As a user scrolls the text on the left side, the image on the right side remains fixed in position but changes to another *.jpg image with a short transition, after the scrolling on the left side has reached a certain point.

            Responsive in this case would means that I'm completely satisfied with the sticky scrolling being inactive on smaller screens and the text and image block simply returning to their normal breakpoint behaviour.

            I have looked into various Storytelling and scrolling JavaScript libraries (Scrollstory, Waypoints and InView) to achieve this goal simply, lightweight and easy. All of them (so far) seem completely overengineered for what I'm trying to do.

            The barely available tutorials and code snippets make me feel a little bit like this:

            I find no real reference that tells me how to get started with small steps to build a scroller in the first place. Regardless of the library.

            Reference files of the individual libraries (that have accessible code) are often outdated and focus on working with external data visualization frameworks and require loading up to four other external scripts for whatever reason and still provide no responsive functionality.

            I've tried to rebuild this showcase example here: https://russellgoldenberg.github.io/scrollama/sticky-side/ because it is at least half of what I want to achieve, but I couldn't get it to work and I don't understand the excessive use of JavaScript there either: https://jsfiddle.net/gdkupcb6/2/

            ...

            ANSWER

            Answered 2019-Nov-15 at 15:27

            First , for your code to work you need to wrap it with main tag.

            Source https://stackoverflow.com/questions/58879033

            QUESTION

            Interrupt scrolling transitions in D3.js
            Asked 2019-Apr-09 at 20:36

            I'm using the scrollama javascript library to write a "scrollytelling" article that involves transitioning D3 graphs in and out of view as the user scrolls. It is mostly working, but the graphs pile up on top of each other if I scroll too quickly.

            Here is a jsfiddle based on this example by the scrollama author. In my example, the colored dots should fade in one at a time. If you were to scroll quickly to the end, the intermittent dots should not show up. The following snippets show how I've set up the transitions:

            I define some functions that create my "graphs", and then call them.

            ...

            ANSWER

            Answered 2019-Apr-09 at 20:36

            If you need to interrupt a transition, d3-transition has a method for that:

            Source https://stackoverflow.com/questions/55600310

            QUESTION

            Elements switch with mouse wheel
            Asked 2019-Mar-18 at 10:03
            What I want to do

            *Image when scrolling
            Look at the moving sentences on the right.

            Like this, I want to highlight the

            element each time scrolling.
            That is, usually it's opacity: 0.3;, and when it's scrolled, it switches to opacity: 1; sequentially from the top.

            I thought that I could do this using swiper.js.


            I feel like this now. Please look at the one on the right side this too.
            If this slider wrap reaches the height of each

            and stops the scroll with preventDefault (), I thought that the implementation would be as expected.

            What I tried

            jQuery ( Unfinished, this doesn't work )

            ...

            ANSWER

            Answered 2019-Mar-18 at 10:03

            Another Update:

            Code Fork, Full screen Demo

            For previous post update, you can check on here

            The core code for the right side(text) scroll:

            Source https://stackoverflow.com/questions/55203700

            QUESTION

            Why is node installing globally instead of locally?
            Asked 2018-Jul-09 at 10:37

            So I navigated to my project directory and run npm install scrollama intersection-observer. It installed the files on my HOME/node-modules instead of the project folder. During installation there were warnings, though:

            ...

            ANSWER

            Answered 2018-Jul-09 at 10:15

            Because your folder is not a valid npm install location as it could not find the package.json. to create that, just run:

            Source https://stackoverflow.com/questions/51243012

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install scrollama

            Note: As of version 1.4.0, the IntersectionObserver polyfill has been removed from the build. You must include it yourself for cross-browser support. Check here to see if you need to include the polyfill.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i scrollama

          • CLONE
          • HTTPS

            https://github.com/russellgoldenberg/scrollama.git

          • CLI

            gh repo clone russellgoldenberg/scrollama

          • sshUrl

            git@github.com:russellgoldenberg/scrollama.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link