1.1.0 • Published 8 years ago

scroll-triggle-fn v1.1.0

Weekly downloads
6
License
ISC
Repository
github
Last release
8 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

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago