# uce-helpers **Repository Path**: mirrors_WebReflection/uce-helpers ## Basic Information - **Project Name**: uce-helpers - **Description**: Common helpers for uce related projects. - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-20 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ยตce-helpers [![Build Status](https://travis-ci.com/WebReflection/uce-helpers.svg?branch=main)](https://travis-ci.com/WebReflection/uce-helpers) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/uce-helpers/badge.svg?branch=main)](https://coveralls.io/github/WebReflection/uce-helpers?branch=main) Common helpers for uce related projects, currently used in [uce-template](https://github.com/WebReflection/uce-template#readme): * `slot(element):object` to retrieve all nodes with a `slot="name"` attribute within an element, ignoring slots inside inner custom elements * `ref(element):Element?` to retrieve the first element with a specific `ref="name"` * `get(element, "attribute-name")` as shortcut for `element.getAttribute(name)` * `has(element, "attribute-name")` as shortcut for `element.hasAttribute(name)`