Page MenuHomec4science

parents.js
No OneTemporary

File Metadata

Created
Fri, Dec 13, 10:35

parents.js

import collectElements from './collectElements';
/**
* Collects all parent elements of a given element.
*
* @param node the element
*/
export default function parents(node) {
return collectElements(node, 'parentElement');
}

Event Timeline