kovarp-utilities

1.0.5 • Public • Published

Hellofront utilities

Set of some useful Javascript (jQuery) utilities.

Installing

The simplest ways to download and install this utilities.

Step 1: Install

Via npm

$ npm i kovarp-utilities

Clone repository

$ git clone https://github.com/kovarp/utilities

Direct download

Download this plugin direct in latest version from GitHub repository.

Step 2: Add to page

Link plugin script file after jQuery

<script src="jquery.min.js"></script>
<script src="scrolling.min.js"></script>

Scrolling

  • Scroll to target element
  • Scroll to target on click
  • Resolve window scroll position after page load

Intersection

  • Adds new events for elements intersection
  • Events: intersection.in and intersection.out
  • For better browsers compatibility use in your project intersection-observer.js (https://github.com/w3c/IntersectionObserver)

Selectors

  • Contains pseudo selector

Properties

  • Method to get dimensions of hidden element

Package Sidebar

Install

npm i kovarp-utilities

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

16.3 kB

Total Files

16

Last publish

Collaborators

  • kovarp