FrontPastel/node_modules/dom-helpers/cjs/siblings.d.ts

7 lines
176 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
/**
* Collects all previous and next sibling elements of a given element.
*
* @param node the element
*/
export default function siblings(node: Element | null): Element[];