You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/web-features.js
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22671,6 +22671,21 @@ export const features = {
22671
22671
}
22672
22672
}
22673
22673
},
22674
+
"switch-control": {
22675
+
"description_html": "The <code>switch</code> attribute, when present on an <code><input type=\"checkbox\"></code> HTML element, renders a switch control with an on and off state instead of a checkbox control.",
22676
+
"kind": "feature",
22677
+
"name": "<input type=\"checkbox\" switch>",
22678
+
"spec": [
22679
+
"https://github.com/whatwg/html/pull/9546"
22680
+
],
22681
+
"status": {
22682
+
"baseline": false,
22683
+
"support": {
22684
+
"safari": "17.4",
22685
+
"safari_ios": "17.4"
22686
+
}
22687
+
}
22688
+
},
22674
22689
"symbol": {
22675
22690
"description_html": "A <code>Symbol</code> value is a unique, non-enumerable primitive value used for encapsulation or information hiding. For example, a symbol can be a key of an object that can never collide with any other key.",
Copy file name to clipboardExpand all lines: docs/data/web-features.js
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22671,6 +22671,21 @@ export const features = {
22671
22671
}
22672
22672
}
22673
22673
},
22674
+
"switch-control": {
22675
+
"description_html": "The <code>switch</code> attribute, when present on an <code><input type=\"checkbox\"></code> HTML element, renders a switch control with an on and off state instead of a checkbox control.",
22676
+
"kind": "feature",
22677
+
"name": "<input type=\"checkbox\" switch>",
22678
+
"spec": [
22679
+
"https://github.com/whatwg/html/pull/9546"
22680
+
],
22681
+
"status": {
22682
+
"baseline": false,
22683
+
"support": {
22684
+
"safari": "17.4",
22685
+
"safari_ios": "17.4"
22686
+
}
22687
+
}
22688
+
},
22674
22689
"symbol": {
22675
22690
"description_html": "A <code>Symbol</code> value is a unique, non-enumerable primitive value used for encapsulation or information hiding. For example, a symbol can be a key of an object that can never collide with any other key.",
<div class="feature-description">The <code>switch</code> attribute, when present on an <code><input type="checkbox"></code> HTML element, renders a switch control with an on and off state instead of a checkbox control.</div>
70856
+
<div class="availability-info-text">Limited availability across browsers since March 5, 2024.</div>
70857
+
70858
+
<div class="browser-support-table-container">
70859
+
<table class="browser-support-table">
70860
+
<caption class="visually-hidden">Browser support details for <input type="checkbox" switch></caption>
<div class="feature-links"><a href="https://github.com/whatwg/html/pull/9546" class="spec-link" target="_blank" rel="noopener">Specification<span class="visually-hidden"> for <input type="checkbox" switch> (opens in a new tab)</span></a><a href="https://webstatus.dev/features/switch-control" class="webstatus-link" target="_blank" rel="noopener">Web Status<span class="visually-hidden"> for <input type="checkbox" switch> (opens in a new tab)</span></a><a href="https://web-platform-dx.github.io/web-features-explorer/features/switch-control/" class="web-platform-dx-link" target="_blank" rel="noopener">Web Features Explorer<span class="visually-hidden"> for <input type="checkbox" switch> (opens in a new tab)</span></a><a href="https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/input#switch" class="mdn-link" title="`<input>` HTML input element" target="_blank" rel="noopener">MDN<span class="visually-hidden"> documentation for <input type="checkbox" switch> (opens in a new tab)</span></a></div>
0 commit comments