Gets the z-index of the given element.
Import:
import { getZIndex } from 'obsidian-dev-utils/html-element';
Signature:
function getZIndex(el: Element): number
Parameters:
| Parameter | Type | Description |
|---|
el | Element | The element to get the z-index of. |
Returns: number — The z-index of the element.