1.0.2 • Published 1 year ago
@frontle/z-index-manager v1.0.2
Description
Finds the highest z-index value
Usage
import { findHighestZIndex } from "../../browser_modules/@frontle/z-index-manager/index.js";
// get highest z-index value
console.log(findHighestZIndex('body')); // 1
Install
Frontle
$ frontle install @frontle/z-index-manager --noBuild
Download Vanilla JS Library
https://github.com/Frontle-Foundation/zIndexManager
API
findHighestZIndex(element)
Get the highest z-index value within the specified element
console.log(findHighestZIndex('body')); // 1
People
The original author of @frontle/z-index-manager is MushStory