Giter Site home page Giter Site logo

Comments (5)

noopole avatar noopole commented on July 30, 2024

CustomElements.js from where?

from custom-elements.

Shijir avatar Shijir commented on July 30, 2024

oh sorry. My question was what is different in this custom-elements.js from CustomElement.js in https://github.com/WebComponents/webcomponentsjs? I know this directory is moved from there. But I would like to know the difference and reasoning behind it. Thanks!

from custom-elements.

noopole avatar noopole commented on July 30, 2024

Not sure but I think they created a new separate project for the Custom Element polyfill for the needs of the "version 1" implementation.

You shouldn't use the old one since it is not updated any more. It supports only the old specfication.

from custom-elements.

SerkanSipahi avatar SerkanSipahi commented on July 30, 2024

see this, very useful explanation of customElements v1: https://developers.google.com/web/fundamentals/getting-started/primers/customelements
see also new spec: https://www.w3.org/TR/custom-elements/

from custom-elements.

ebidel avatar ebidel commented on July 30, 2024

Correct. https://github.com/webcomponents/custom-elements is for the v1 CE polyfill. We broke up each polyfill into a separate repo.

https://github.com/WebComponents/webcomponentsjs is v0 APIs.

from custom-elements.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.