Skip to content
EntityQ18217380· pop 10· linked from 149 articles

Composants web

Sign in to save

set of features (Custom Elements, Shadow DOM, HTML Templates) that provide a standard component model for the Web for encapsulation and interoperability of individual HTML elements

Source code

Web Components are a new browser feature that provides a standard component model for the Web, consisting of several pieces maintained in different places: Shadow DOM Most of the parts are now maintained in DOM Standard, called shadow trees. Some of the parts are still remained in this repository. See Issue 661 for the progress of upstreaming those parts from the partially out-of-date Shadow DOM document. Issues against the DOM and HTML Standard. Issues raised in this repository. The old issue tracker on W3C bugzilla, which is no longer used. Custom Elements Custom elements were upstreamed into the HTML Standard (and bits in the DOM Standard) and are maintained there. Issues against the DOM and HTML Standard. Issues raised in this repository. The old issue tracker on W3C bugzilla, which is no longer used. HTML Templates HTML Templates were upstreamed into the HTML Standard and are fully maintained there. CSS changes The CSS WG works on CSS Scoping and CSS Shadow Parts, which help dealing with shadow trees with various selectors. Various other parts of CSS and its object model are also impacted by shadow trees and directly worked on in the various CSS specificaions. Issues against the CSS WG repository. JSON, CSS, HTML Modules Successor to the abandoned HTML Imports , allows JSON, CSS, and HTML markup to be requested by a component. HTML Modules Spec work is being incubated upstream in whatwg/html (see PR). For new issues, please file against whatwg/html or here in w3c/webcomponents. See also the HTML Modules explainer, initial proposal, and earlier design ideas. Issues raised in HTML Standard Issues raised in this repository. Includes related issues for other potential module-types, such as CSS and JSON. Old issue tracker includes a few issues filed when the feature was first proposed. Please avoid filing new issues there. Please file issues in the most specific repository possible, per the above issue pointers. (It's often not this repository.) Abandoned features: HTML Imports The current issue tracker. The old issue tracker on W3C bugzilla, which is no longer used. Note: HTML Modules are intended to replace HTML Imports (see above).

Excerpt from the source-code README · 3,908 chars · not written by Vinony

Wikidata facts

Official website
www.webcomponents.org
Show 5 more facts
Sources (5)

via Wikidata · CC0

Article · Français

La spécification des composants web (Web Components en anglais) est en cours de normalisation par le World Wide Web Consortium (W3C), l'organisme de normalisation du web. Les composants web permettent aux développeurs de créer des balises HTML personnalisées et réutilisables. "Les composants web permettent de combiner plusieurs éléments pour créer des composants d'interface graphique (widgets) réutilisables avec un niveau de richesse et d'interactivité sans commune mesure avec ce qui est aujourd'hui possible en se limitant aux CSS", explique le W3C. Les composants web s'appuient sur plusieurs interfaces de programmation (API) du W3C : * templates : squelettes pour des éléments HTML instanciables * shadow DOM : ce qui sera public ou privé dans les éléments * custom elements : pour créer et enregistrer de nouveaux éléments HTML et les faire reconnaître par le navigateur * HTML imports : pour packager ses composants (CSS, JavaScript…) * model driven views : fournit un databinding semblable à celui d'AngularJS * Web animations : des APIs pour mettre en œuvre des animations complexes * pointer events : unifie les événements souris, tactile et stylet

Abstract from DBpedia / Wikipedia · CC BY-SA