apeman-react-mixin-scroll

1.0.2 • Public • Published

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

/apeman-react-mixin-scroll/

    Package Sidebar

    Install

    npm i apeman-react-mixin-scroll

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • okunishinishi