Skip to content

getZIndex

Gets the z-index of the given element.

Import:

import { getZIndex } from '@mnaoumov/typescript-lib/html-element';

Signature:

function getZIndex(element: Element): number

Parameters:

Parameter Type Description
element Element The element to get the z-index of.

Returns: number — The z-index of the element.