This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@artifriends/z-index-manager

1.0.2 • Public • Published

Z-Index Manager

Finds the highest z-index value

Usage

import artifriends_z_index_manager from "browser_modules/@artifriends/z-index-manager/module.js";
const {zIndexManager} = artifriends_z_index_manager;

// get instance
const zIndexManagerInstance = new zIndexManager();

// get highest z-index value
console.log(zIndexManagerInstance.getHighestZIndex('body')); // 1

Install

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

Package Sidebar

Install

npm i @artifriends/z-index-manager

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.6 kB

Total Files

4

Last publish

Collaborators

  • artifriends