Kortplats
Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Kortplatsens global attribute tilldelar en kortpalts i en shadow DOM skuggträdet till ett element: Ett element med ett kortplatsattribut tilldelas till kortplatsen skapat av<slot> (en-US) vars elementname
(en-US) attributets värde matchar det här kortplatsens attributets värde.
Specifikationer
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'slot attribute' in that specification. |
Living Standard | |
DOM The definition of 'slot attribute' in that specification. |
Living Standard |
Webbläsarkompatibilitet
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help! (en-US)
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | 53 | ? | ? | ? | 40 | 10 |
Feature | Android | Edge | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | 53 | ? | ? | ? | 40 | 10.1 |
Se även
- Alla globala attributer.