apeman-react-mixin-scroll

Handle scrolling

Usage no npm install needed!

<script type="module">
  import apemanReactMixinScroll from 'https://cdn.skypack.dev/apeman-react-mixin-scroll';
</script>

README

apeman-react-mixin-scroll

Build Status Code Climate Code Coverage npm Version JS Standard

Handle scrolling

Installation

$ npm install apeman-react-mixin-scroll --save

Usage

#!/usr/bin/env node

'use strict'

import React from 'react'
import {ApScrollMixin} from 'apeman-react-mixin-scroll'

// Define own component with the mixin
const ExampleComponent = React.createClass({
  mixins: [
    ApScrollMixin
  ],
  render () {
    return (
      <div>{ /* ... */ }</div>
    )
  }
})

License

This software is released under the MIT License.

Links