1.1.7 • Published 3 years ago

react-jquery-plugin v1.1.7

Weekly downloads
134
License
MIT
Repository
github
Last release
3 years ago

React jquery plugin

NPM JavaScript Style Guide

This tool will help you to use jquery plugins like easing, ScrollMagic, Nice Select,etc.. in react very easy.

Install

npm install --save react-jquery-plugin

Usage

import React, { Component } from 'react'

import { $ }  from 'react-jquery-plugin'

class Example extends Component {
  componentDidMount() {
    $(window).scroll(() => {
     // put your code here
    });
  }
  render () {
    return (
      <div>
        <h1>Hello there</h1>
      </div>
    )
  }
}

or

import React, { Component } from 'react'

import 'react-jquery-plugin'

class Example extends Component {
  componentDidMount() {
    window.$(window).scroll(() => {
     // put your code here
    });
  }
  render () {
    return (
      <div>
        <h1>Hello there</h1>
      </div>
    )
  }
}

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • I would like to thank our code reviewer and anyone else who participated in making this done.

📝 License

This project is MIT licensed.

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago