• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. CustomStateSet
  4. CustomStateSet.size

Table of contents

  • Value
  • Specifications
  • Browser compatibility

CustomStateSet.size

The size property of the CustomStateSet interface returns the number of values in the CustomStateSet.

Value

An integer indicating how many properties the CustomStateSet has.

Specifications

No specification found

No specification data found for api.CustomStateSet.size.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

BCD tables only load in the browser

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Mar 28, 2022, by MDN contributors

Related Topics

  1. Document Object Model
  2. Guides
    1. Introduction to the DOM
    2. Using the W3C DOM Level 1 Core
    3. Traversing an HTML table with JavaScript and DOM Interfaces
    4. Locating DOM elements using selectors
    5. How to create a DOM tree
    6. Introduction to events
    7. How whitespace is handled by HTML, CSS, and in the DOM
    8. Examples of web and XML development using the DOM
  3. Interfaces
    1. AbortController
    2. AbortSignal
    3. AbstractRange
    4. Attr
    5. ByteString
    6. CDATASection
    7. CharacterData
    8. Comment
    9. CustomEvent
    10. Document
    11. DocumentFragment
    12. DocumentType
    13. DOMError
    14. DOMException
    15. DOMImplementation
    16. DOMParser
    17. DOMPoint
    18. DOMPointReadOnly
    19. DOMRect
    20. DOMTimeStamp
    21. DOMTokenList
    22. Element
    23. Event
    24. EventTarget
    25. HTMLCollection
    26. MutationObserver
    27. NamedNodeMap
    28. Node
    29. NodeFilter
    30. NodeIterator
    31. NodeList
    32. ProcessingInstruction
    33. Range
    34. StaticRange
    35. Text
    36. TextDecoder
    37. TextEncoder
    38. TimeRanges
    39. TreeWalker
    40. XMLDocument
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies