Nauseating Pumpkin Mush

    skrlspy

    1.2.1 • Public • Published

    skrlspy

    Scroll spy

    Install

    npm install --save skrlspy
    component install andrepolischuk/skrlspy

    Usage

    Set sections and nav classes via data-skrlspy and data-skrlspy-nav attributes:

    <body data-skrlspy=".section" data-skrlspy-nav=".nav">

    API

    slrlspy(options);

    Example:

    skrlspy({
      section : '.section',
      nav : '.nav'
    });

    Options:

    • section - section class or ID
    • nav - navigation class or ID
    • navActiveClass - navigation active children classname
    • change - function called when changing section

    Support

    • Internet Explorer 8+
    • Chrome
    • Safari
    • Firefox
    • Opera

    License

    MIT

    Keywords

    Install

    npm i skrlspy

    DownloadsWeekly Downloads

    0

    Version

    1.2.1

    License

    MIT

    Last publish

    Collaborators

    • andrepolischuk