@saekitominaga/document-maximum-zindex
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

Get maximum value of z-index in Document

npm version

Get maximum value of z-index in Document.

Demo

Examples

import DocumentMaximumZindex from '@saekitominaga/document-maximum-zindex';

const documentMaximumZindex = new DocumentMaximumZindex();
documentMaximumZindex.getMaximum();
documentMaximumZindex.getMaximum('#foo > .bar');

Methods

getMaximum(selectors = 'body *'): number
Get maximum value of z-index inside the target element

Keywords

none

Install

npm i @saekitominaga/document-maximum-zindex

DownloadsWeekly Downloads

3

Version

1.2.1

License

MIT

Unpacked Size

24.7 kB

Total Files

9

Last publish

Collaborators

  • saekitominaga