Finds the highest z-index value
npm install @frontle/z-index-managerThe easiest multi-platform SPA framework.
javascript
import { findHighestZIndex } from "../../browser_modules/@frontle/z-index-manager/index.js";
// get highest z-index value
console.log(findHighestZIndex('body')); // 1
`
Install
Frontle
`shell
$ 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
`javascript
console.log(findHighestZIndex('body')); // 1
``