Bootstrap

API siblingsInert

siblingsInert

function

siblingsInert(node, args): void | { destroy: () => void; update: (args) => void; }

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 | { destroy: () => void; update: (args) => void; }