Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dom-zindex

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-zindex

Web common z-index style management

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.4K
increased by6.6%
Maintainers
1
Weekly downloads
 
Created
Source

z-index Manager

English | 简体中文

npm version npm downloads issues issues closed pull requests pull requests closed npm license

Web common z-index style management.

Browser Support

IEEdgeChromeFirefoxOperaSafari
7+ ✔80+ ✔44+ ✔40+ ✔60+ ✔6+ ✔

Installing

npm install dom-zindex

CDN

<script src="https://unpkg.com/dom-zindex"></script>

Example

import domZindex from 'dom-zindex'

// Get main current z-index
domZindex.getCurrent() // 1000

// Get main next z-index
domZindex.getNext() // 1001

// Get subordinate current z-index, the secondary z-index will always be greater than the primary z-index.
domZindex.getSubCurrent() // 2001

// Get subordinate next z-index
domZindex.getSubNext() // 2002

License

MIT © 2019-present, Xu Liangzhan

Keywords

FAQs

Package last updated on 25 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc