{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/slot-assign",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "slot-assign",
    "name": "Imperative slot assignment",
    "description": "The assign() method for <slot> elements assigns nodes to the slot, as an alternative to using the slot and name HTML attributes. The nodes must be children of a shadow host and the shadow root must be created with the slotAssignment set to \"manual\". Also known as manual slot assignment.",
    "group": "web-components",
    "groupName": "Web components",
    "spec": "https://html.spec.whatwg.org/multipage/scripting.html#dom-slot-assign",
    "baseline": "high",
    "baselineLowDate": "2023-03-27",
    "baselineLowDay": 19443,
    "baselineHighDate": "2025-09-27",
    "compatCount": 2,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.HTMLSlotElement.assign",
      "api.ShadowRoot.slotAssignment"
    ],
    "s": {
      "chrome": {
        "v": "92",
        "d": 18828
      },
      "chrome_android": {
        "v": "92",
        "d": 18828
      },
      "edge": {
        "v": "92",
        "d": 18830
      },
      "firefox": {
        "v": "92",
        "d": 18877
      },
      "firefox_android": {
        "v": "92",
        "d": 18877
      },
      "safari": {
        "v": "16.4",
        "d": 19443
      },
      "safari_ios": {
        "v": "16.4",
        "d": 19443
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "api.HTMLSlotElement.assign",
      "cat": "api",
      "mdn": "API/HTMLSlotElement/assign",
      "spec": "https://html.spec.whatwg.org/multipage/scripting.html#dom-slot-assign",
      "st": 1,
      "wf": "slot-assign",
      "bl": "high",
      "bld": 19443,
      "s": {
        "chrome": {
          "v": "92",
          "d": 18828
        },
        "firefox": {
          "v": "92",
          "d": 18877
        },
        "safari": {
          "v": "16.4",
          "d": 19443
        },
        "edge": {
          "v": "92",
          "d": 18830
        },
        "chrome_android": {
          "v": "92",
          "d": 18828
        },
        "firefox_android": {
          "v": "92",
          "d": 18877
        },
        "safari_ios": {
          "v": "16.4",
          "d": 19443
        },
        "webview_android": {
          "v": "92",
          "d": 18828
        },
        "webview_ios": {
          "v": "16.4",
          "d": 19443
        },
        "samsunginternet_android": {
          "v": "16.0",
          "d": 18956
        },
        "opera": {
          "v": "78",
          "d": 18842
        },
        "opera_android": {
          "v": "65",
          "d": 18920
        },
        "oculus": {
          "v": "17.0",
          "d": 18883
        }
      },
      "notes": [
        {
          "t": "Before Chrome 95, the method accepted any <code>Node</code> instead of just <code>Element</code> and <code>Text</code>.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "Accepted <code>sequence&lt;Node&gt;</code> instead of <code>(Element or Text)...</code>.",
          "b": [
            "chrome",
            "edge",
            "chrome_android",
            "webview_android",
            "samsunginternet_android",
            "opera",
            "opera_android",
            "oculus"
          ]
        },
        {
          "t": "Before Edge 95, the method accepted any <code>Node</code> instead of just <code>Element</code> and <code>Text</code>.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "Before Chrome Android 95, the method accepted any <code>Node</code> instead of just <code>Element</code> and <code>Text</code>.",
          "b": [
            "chrome_android"
          ]
        },
        {
          "t": "Before WebView Android 95, the method accepted any <code>Node</code> instead of just <code>Element</code> and <code>Text</code>.",
          "b": [
            "webview_android"
          ]
        },
        {
          "t": "Before Samsung Browser 17.0, the method accepted any <code>Node</code> instead of just <code>Element</code> and <code>Text</code>.",
          "b": [
            "samsunginternet_android"
          ]
        },
        {
          "t": "Before Opera 81, the method accepted any <code>Node</code> instead of just <code>Element</code> and <code>Text</code>.",
          "b": [
            "opera"
          ]
        },
        {
          "t": "Before Opera Android 67, the method accepted any <code>Node</code> instead of just <code>Element</code> and <code>Text</code>.",
          "b": [
            "opera_android"
          ]
        },
        {
          "t": "Before Quest Browser 18.0, the method accepted any <code>Node</code> instead of just <code>Element</code> and <code>Text</code>.",
          "b": [
            "oculus"
          ]
        }
      ]
    },
    {
      "id": "api.ShadowRoot.slotAssignment",
      "cat": "api",
      "mdn": "API/ShadowRoot/slotAssignment",
      "spec": "https://dom.spec.whatwg.org/#dom-shadowroot-slotassignment",
      "st": 1,
      "wf": "slot-assign",
      "bl": "high",
      "bld": 19443,
      "s": {
        "chrome": {
          "v": "86",
          "d": 18555
        },
        "firefox": {
          "v": "92",
          "d": 18877
        },
        "safari": {
          "v": "16.4",
          "d": 19443
        },
        "edge": {
          "v": "86",
          "d": 18544
        },
        "chrome_android": {
          "v": "86",
          "d": 18555
        },
        "firefox_android": {
          "v": "92",
          "d": 18877
        },
        "safari_ios": {
          "v": "16.4",
          "d": 19443
        },
        "webview_android": {
          "v": "86",
          "d": 18555
        },
        "webview_ios": {
          "v": "16.4",
          "d": 19443
        },
        "samsunginternet_android": {
          "v": "14.0",
          "d": 18734
        },
        "opera": {
          "v": "72",
          "d": 18556
        },
        "opera_android": {
          "v": "61",
          "d": 18603
        },
        "oculus": {
          "v": "12.0",
          "d": 18569
        }
      }
    }
  ]
}