{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.HTMLButtonElement.commandForElement",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.HTMLButtonElement.commandForElement",
    "cat": "api",
    "mdn": "API/HTMLButtonElement/commandForElement",
    "spec": "https://html.spec.whatwg.org/multipage/form-elements.html#dom-button-commandforelement",
    "st": 1,
    "wf": "invoker-commands",
    "bl": "low",
    "bld": 20434,
    "s": {
      "chrome": {
        "v": "135",
        "d": 20179
      },
      "firefox": {
        "v": "144",
        "d": 20375
      },
      "safari": {
        "v": "26.2",
        "d": 20434
      },
      "edge": {
        "v": "135",
        "d": 20182
      },
      "chrome_android": {
        "v": "135",
        "d": 20179
      },
      "firefox_android": {
        "v": "144",
        "d": 20375
      },
      "safari_ios": {
        "v": "26.2",
        "d": 20434
      },
      "webview_android": {
        "v": "135",
        "d": 20179
      },
      "webview_ios": {
        "v": "26.2",
        "d": 20434
      },
      "samsunginternet_android": {
        "v": "29.0",
        "d": 20386
      },
      "opera": {
        "v": "120",
        "d": 20271
      },
      "opera_android": {
        "v": "89",
        "d": 20207
      },
      "oculus": {
        "v": "39",
        "d": 20264
      }
    }
  },
  "webFeature": {
    "id": "invoker-commands",
    "name": "Invoker commands",
    "description": "The command and commandfor attributes for the <button> HTML element dispatch an action to an element when the button is invoked (by click or keystroke), as a declarative alternative to addEventListener() calls or onclick attribute handlers.",
    "group": "other",
    "groupName": "other",
    "spec": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-command",
    "baseline": "low",
    "baselineLowDate": "2025-12-12",
    "baselineLowDay": 20434,
    "compatCount": 9,
    "cats": [
      "api",
      "html"
    ],
    "compatKeysSample": [
      "api.CommandEvent",
      "api.CommandEvent.CommandEvent",
      "api.CommandEvent.command",
      "api.CommandEvent.source",
      "api.HTMLButtonElement.command",
      "api.HTMLButtonElement.commandForElement",
      "api.HTMLElement.command_event",
      "html.elements.button.command",
      "html.elements.button.commandfor"
    ],
    "s": {
      "chrome": {
        "v": "135",
        "d": 20179
      },
      "chrome_android": {
        "v": "135",
        "d": 20179
      },
      "edge": {
        "v": "135",
        "d": 20182
      },
      "firefox": {
        "v": "144",
        "d": 20375
      },
      "firefox_android": {
        "v": "144",
        "d": 20375
      },
      "safari": {
        "v": "26.2",
        "d": 20434
      },
      "safari_ios": {
        "v": "26.2",
        "d": 20434
      }
    }
  }
}