1.1.0 • Published 6 years ago

scroll-triggle-fn v1.1.0

Weekly downloads
6
License
ISC
Repository
github
Last release
6 years ago

Installation

npm i scroll-triggle-fn --save
npm i jquery --save

Usage

var scrollTriggleFn = require("scroll-triggle-fn")
import $ from 'jquery';

$('ducument').ready(function(){

    const callback = function(e) {
        $(e).css('color','#fff');
    }

    const config = {
        delay: 0,   // default: 0
        position: 'top' //'button', 'mid' default: 'top'
    }

    const selector = 'h1';

    scrollTriggleFn(selector, e, config);

});
1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago