Z-Index Manager
Finds the highest z-index value
Usage
import {zIndexManager} from "zIndexManager.js";
const zIndexManagerInstance = new zIndexManager();
console.log(zIndexManagerInstance.getHighestZIndex('body'));
Install
NPM
npm install @artifriends/z-index-manager
Frontle
frontle install @artifriends/z-index-manager
Download files
https://github.com/Artifriends-inc/zIndexManager
API
new zIndexManager()
Creating a zIndexManager object. Single tone pattern used
const zIndexManagerInstance = new zIndexManager();
.getHighestZIndex(element)
Get the highest z-index value within the specified element
console.log(zIndexManagerInstance.getHighestZIndex('body'));
People
The original author of @artifriends/z-index-manager is MushStory
License
MIT