Welcome
Welcome to the ce-part-utils
library documentation.
The ce-part-utils
library contains utilities for adding part
and exportparts
attributes to a custom HTML element, using classes, ids, tags and other element properties.
The library is intended to help with managing part assignment for custom elements that have a lot of shadow DOM child elements, and for custom elements that use child custom elements that are entirely private to the parent element.
To use the ce-part-utils
functions, import each function individually from the library's file.
Provide your custom element's shadow root to the functions to assign parts to the children of those shadow roots.
Use the Documents menu to navigate to a specific feature's documentation.
Documentation for other versions can be found in the Versions dropdown.
Documentation Versioning
Documentation's versioning reflects the latest released build version at the time the documentation was published. It may not reflect the latest version of the library, but all documents should still apply to it.
Please report any discrepencies between the documentation and the latest version to the library's maintainer.