Skip to content

indlekofer/media_scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@indlekofer/media_scroll

Usage

import GET_SCROLL, { REDUCER as MEDIA_REDUCER } from '@indlekofer/media_scroll';

const mapStateToProps = (state) => {
  return {
    mediaScroll: state[MEDIA_REDUCER].get(GET_SCROLL) //mediaScroll -> {y = null, x = null, prevY = null, prevX = null}
  }
}

Function exports

init

setup

unset

config

Constant exports

REDUCER

GET_SCROLL (default)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published