此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
HTMLAllCollection:length 属性
HTMLAllCollection.length 属性返回HTMLAllCollection 中项目的数量。
In this article
值
表示HTMLAllCollection 中项目数量的整数值。
规范
| Specification |
|---|
| HTML> # dom-htmlallcollection-length> |
此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
HTMLAllCollection.length 属性返回HTMLAllCollection 中项目的数量。
表示HTMLAllCollection 中项目数量的整数值。
| Specification |
|---|
| HTML> # dom-htmlallcollection-length> |
HTMLAllCollectionAbortControllerAbortSignalAbstractRangeAttrCDATASectionCharacterDataCommentCustomEventDOMError已弃用DOMExceptionDOMImplementationDOMParserDOMTokenListDocumentDocumentFragmentDocumentTypeElementEventEventTargetHTMLCollectionMutationObserverMutationRecordNamedNodeMapNodeNodeIteratorNodeListProcessingInstructionQuotaExceededError实验性RangeShadowRootStaticRangeTextTreeWalkerXMLDocumentXPathEvaluatorXPathExpressionXPathResultXSLTProcessor