Giter Site home page Giter Site logo

leddgroup / scroll-utility Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 1.0 924 KB

npm package for centering elements, smooth scroll animations, react to scroll events and accessing values related to the scroll

License: MIT License

TypeScript 94.75% HTML 1.44% CSS 3.81%
scroll scroller js ts smooth-scrolling center centering smooth

scroll-utility's People

Contributors

danielpza avatar davidpa9708 avatar greenkeeper[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

szmagli

scroll-utility's Issues

Allow to select steps per second

By default, the amount of steps per second on smooth scroll is 100. It also should be configurable for a better experience or performance problems.

Support watch elements

Add watcher for detecting elements at a certain position of the scroll. Generally used for when the element is visible in the window.

Add `isScrolling` function

Add isScrolling function to get if element is being scrolled. Also differentiate user scroll from smooth scroll.

MSEdge support

scroll function does not exists on elements in Edge, so only window scroll will can be used.

An in-range update of cypress is breaking the build 🚨

The devDependency cypress was updated from 3.1.5 to 3.2.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

cypress is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @commitlint/config-conventional is breaking the build 🚨

The devDependency @commitlint/config-conventional was updated from 7.5.0 to 7.6.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@commitlint/config-conventional is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Mobile

Scrolling in mobile devices does not work properly

Interrupt scroll options

Allow to interrupt scroll (scrollManager.stop())
Allow to specify whether or not to interrrupt scroll automatically

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.