A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/CustomStateSet/delete below:

CustomStateSet: delete() method - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. CustomStateSet
  4. delete()

Filter sidebar

In this article
  1. Web Components
  2. CustomStateSet
  3. Instance properties
    1. size
  4. Instance methods
    1. add()
    2. clear()
    3. delete()
    4. entries()
    5. forEach()
    6. has()
    7. keys()
    8. values()
  5. Related pages for Web Components
    1. CustomElementRegistry
    2. Document.createElement()
    3. Element.attachShadow()
    4. Element.shadowRoot
    5. Element.slot
    6. ElementInternals
    7. Event.composed
    8. Event.composedPath
    9. HTMLElement.attachInternals()
    10. HTMLSlotElement
    11. HTMLTemplateElement
    12. Node.getRootNode()
    13. Node.isConnected
    14. ShadowRoot
    15. Window.customElements
In this article CustomStateSet: delete() method

Baseline 2024

Newly available

Since May 2024, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The delete() method of the CustomStateSet interface deletes a single value from the CustomStateSet.

Syntax

js

delete(value)
Parameters
value

value to remove from the CustomStateSet.

Return value

Returns true if value was in the CustomStateSet; otherwise false.

Specifications Specification HTML
# custom-state-pseudo-class
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Mar 26, 2024 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4