document-register-element is a lightweight polyfill that brought Custom Elements APIs to browsers without complete native support. It supports both the older V0 model and much of the V1 specification, including autonomous elements and customized built-in elements. Developers can define components with lifecycle callbacks that respond to creation, connection, removal, and observed attribute changes. The package uses feature detection so modern browsers can retain native behavior instead of receiving unnecessary patches. It can be loaded through npm, CommonJS, AMD, bundlers, a script tag, or a CDN. The repository is archived and deprecated, and its maintainer recommends newer custom-elements packages for current projects.

Features

  • Custom Elements V0 and V1 compatibility
  • Autonomous custom element definitions
  • Customized built-in element support
  • Component lifecycle callbacks
  • Automatic browser feature detection
  • npm, AMD, CommonJS, CDN, and script loading

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

ISC License

Follow document-register-element

document-register-element Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of document-register-element!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

4 hours ago