Skip to content

kiril6/scrolling-Up-Down

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Scroll detection made with javascript and works in Angular 2 which is detecting up/ down scrolling and doing hiding/showing of an element dependent of the direction of scrolling.

The example is done with 2 elements which needed to be shown and hidden.

[ngClass] is being used to set animation when classes replaced considering the hide and show of an element when scrolling

About

This code is for detecting up and down scrolling (javascript)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published