From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- .../es/web/html/atributos_globales/slot/index.html | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 files/es/web/html/atributos_globales/slot/index.html (limited to 'files/es/web/html/atributos_globales/slot') diff --git a/files/es/web/html/atributos_globales/slot/index.html b/files/es/web/html/atributos_globales/slot/index.html new file mode 100644 index 0000000000..ed2b8688db --- /dev/null +++ b/files/es/web/html/atributos_globales/slot/index.html @@ -0,0 +1,46 @@ +--- +title: slot +slug: Web/HTML/Atributos_Globales/slot +tags: + - Atributos globales + - HTML + - Referencia +translation_of: Web/HTML/Global_attributes/slot +--- +
{{HTMLSidebar("Global_attributes")}}{{SeeCompatTable}}
+ +

El atributo global slot asigna un espacio en un shadow DOM árbol shadow a un elemento: Un elemento con un atributo slot es asignado al espacio creado por el elemento {{HTMLElement("slot")}} cuyo valor de atributo {{htmlattrxref("name", "slot")}} coincide con el valor de ese atributo slot.

+ +

Especificaciones

+ + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', "dom.html#attr-slot", "slot attribute")}}{{Spec2('HTML WHATWG')}} 
{{SpecName('DOM WHATWG', "#dom-element-slot", "slot attribute")}}{{Spec2('DOM WHATWG')}} 
+ +

Compatibilidad de navegadores

+ + + +

{{Compat("html.global_attributes.slot")}}

+ +

Vea también

+ + -- cgit v1.2.3-54-g00ecf