- Full-featured monitoring dashboard for local web apps - Real-time status tracking with uptime percentages - Visual sparklines for status history - Add/Edit/Delete apps dynamically - Categories and color coding - Auto-refresh every 30 seconds - API endpoints for apps and status management
10 lines
231 B
JavaScript
10 lines
231 B
JavaScript
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');
|
|
} |