Skip to content

michvh-dev/fixed-overflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@michvh-dev: Fixed overflow

This is a small utilitie that gives the possibility to mask fixed elements when you scroll over different element Live demo here.

Table of Contents

General Information

This js utility helps you to seamlesly update fixed elements

Installation

npm

npm i @michvh-dev/fixed-overfloww -S

yarn

yarn add @michvh-dev/fixed-overflow

Usage

import FixedOverflow from '@michvh-dev//fixed-overfloww';

const elements= document.querySelectorAll('.header, .sidebar');
new FixedOverflow({
    element: elements,
});
// or 
new FixedOverflow({
    elementSelector: '.header, .sidebar',
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published