Displaying 1 to 2 from 2 results

document-register-element - A stand-alone working lightweight version of the W3C Custom Elements specification

  •    Javascript

A stand-alone lightweight version of Custom Elements V1 based on top, and compatible with, the battle-tested Custom Elements V0, already used in production with projects such Google AMP HTML ⚡ and others. If you specify noBuiltIn property as true, the V1 API will be polyfilled where needed, but no extra checks and patches will be applied to make custom elements built-in working, since no browser is currently shipping this part of the specification.

ce-v0 - Custom Elements V0 API

  •    Javascript

A cross browser document.registerElement without built-in extends. Simply include the polyfill on top of your page and use document.registerElement(name, info) like the good old days.