headless

API siblingsInert

siblingsInert

function

siblingsInert(node, args): void | object

A directive that sets the inert attribute on all sibling elements of the given element recursively up the DOM tree, excluding the element itself and any <script> elements.

Parameters

node: SSRHTMLElement

args: void

Returns

void | object