2.0.2 • Published 2 years ago

zindex-maximumvalue-manager v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Z-Index Manager

Find the zIndex maximum on the web

NPM Version

NPM Install Size

NPM Downloads

import {zIndexManager} from "../../browser_modules/zindex-maximumvalue-manager/zIndexManager.js";

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

// get z-index maximum
console.log(zIndexManagerInstance.getZIndex('body')); // 1

Installation

How to install from Frontle

$ frontle install zindex-maximumvalue-manager

How to install from Web

For typical web projects, copy and use the code at zIndexManager.js in below repositorys

https://github.com/Artifriends-inc/zIndexManager (zIndexManager.js)

Function

new zIndexManager()

Create "zIndexMaanger" object. only one object is created using a single-tone pattern

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

zIndexManagerInstance.getZIndex(element)

Gets the largest zIndex value within the specified element

// get z-index maximum
console.log(zIndexManagerInstance.getZIndex('body')); // 1

People

The original author of zindex-maximumvalue-manager is MushStory

License

MIT

1.0.2

2 years ago

2.0.2

2 years ago

1.0.1

2 years ago

1.0.5

2 years ago

2.0.1

2 years ago

1.0.4

2 years ago

2.0.0

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago