@frontle/z-index-manager

1.0.2 • Public • Published

Frontle Logo

The easiest multi-platform SPA framework.

NPM Version Package License NPM Downloads

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

License

MIT

Package Sidebar

Install

npm i @frontle/z-index-manager

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.92 kB

Total Files

4

Last publish

Collaborators

  • mushstory
  • artifriends