当你使用 JavaScript 编写网页代码时,有许多API可供调用。以下是所有接口的API列表,你可以在开发网站或Web应用程序时使用它们。
A
ANGLE_instanced_arraysAbortControllerAbortSignalAbstractWorkerAmbientLightSensorAmbientLightSensorReadingAnalyserNodeAnimationAnimationEffectReadOnlyAnimationEffectTimingAnimationEffectTimingPropertiesAnimationEffectTimingReadOnlyAnimationEventAnimationPlaybackEventAnimationTimelineArrayBufferViewAttrAudioBufferAudioBufferSourceNodeAudioContextAudioDestinationNodeAudioListenerAudioNodeAudioNodeOptionsAudioParamAudioProcessingEventAudioScheduledSourceNodeAuthenticatorAssertionResponseAuthenticatorAttestationResponseAuthenticatorResponse
BaseAudioContextBasicCardRequestBasicCardResponseBatteryManagerBeforeInstallPromptEventBeforeUnloadEventBiquadFilterNodeBlobBlobBuilderBlobEventBluetoothBluetoothAdvertisingDataBluetoothCharacteristicPropertiesBluetoothRemoteGATTCharacteristicBluetoothRemoteGATTDescriptorBluetoothRemoteGATTServerBluetoothRemoteGATTServiceBluetoothStatusChangedEventBodyBroadcastChannelBudgetServiceBudgetStateBufferSourceByteLengthQueuingStrategyByteString
CDATASectionCSSCSSConditionRuleCSSCounterStyleRuleCSSGroupingRuleCSSKeyframeRuleCSSKeyframesRuleCSSMatrixCSSMediaRuleCSSNamespaceRuleCSSOMStringCSSPageRuleCSSPrimitiveValueCSSRuleCSSRuleListCSSStyleDeclarationCSSStyleRuleCSSStyleSheetCSSSupportsRuleCSSValueCSSValueListCacheCacheStorageCanvasCaptureMediaStreamCanvasGradientCanvasImageSourceCanvasPatternCanvasRenderingContext2DCaretPositionChannelMergerNodeChannelSplitterNodeCharacterDataChildNodeChromeWorkerClientClientsClipboardClipboardEventCloseEventCommentCompositionEventConsoleConstantSourceNodeConstrainBooleanConstrainDOMStringConstrainDoubleConstrainLongConvolverNodeCoordinatesCountQueuingStrategyCredentialCredentialsContainerCryptoCryptoKeyCustomElementRegistryCustomEvent
DOMConfigurationDOMErrorDOMErrorHandlerDOMExceptionDOMHighResTimeStampDOMImplementationDOMImplementationListDOMImplementationRegistryDOMImplementationSourceDOMLocatorDOMMatrixDOMMatrixReadOnlyDOMObjectDOMParserDOMPointDOMPointReadOnlyDOMQuadDOMRectDOMRectReadOnlyDOMStringDOMStringListDOMStringMapDOMTimeStampDOMTokenListDOMUserDataDataTransferDataTransferItemDataTransferItemListDedicatedWorkerGlobalScopeDelayNodeDeviceAccelerationDeviceLightEventDeviceMotionEventDeviceOrientationEventDeviceProximityEventDeviceRotationRateDirectoryEntrySyncDirectoryReaderSyncDocumentDocumentFragmentDocumentOrShadowRootDocumentTimelineDocumentTouchDocumentTypeDoubleRangeDragEventDynamicsCompressorNode
EXT_blend_minmaxEXT_color_buffer_floatEXT_color_buffer_half_floatEXT_disjoint_timer_queryEXT_frag_depthEXT_sRGBEXT_shader_texture_lodEXT_texture_filter_anisotropicElementElementTraversalEntityEntityReferenceEntrySyncErrorEventEventEventListenerEventSourceEventTargetExtendableEventExtendableMessageEvent
FederatedCredentialFetchEventFileFileEntrySyncFileErrorFileExceptionFileListFileReaderFileReaderSyncFileRequestFileSystemFileSystemDirectoryEntryFileSystemDirectoryReaderFileSystemEntryFileSystemFileEntryFileSystemFlagsFileSystemSyncFocusEventFontFaceFontFaceSetFontFaceSetLoadEventFormData
GainNodeGamepadGamepadButtonGamepadEventGamepadHapticActuatorGamepadPoseGeolocationGeometryUtilsGestureEventGlobalEventHandlers
HMDVRDeviceHTMLAnchorElementHTMLAreaElementHTMLAudioElementHTMLBRElementHTMLBaseElementHTMLBaseFontElementHTMLBodyElementHTMLButtonElementHTMLCanvasElementHTMLCollectionHTMLContentElementHTMLDListElementHTMLDataElementHTMLDataListElementHTMLDetailsElementHTMLDialogElementHTMLDivElementHTMLDocumentHTMLElementHTMLEmbedElementHTMLFieldSetElementHTMLFontElementHTMLFormControlsCollectionHTMLFormElementHTMLFrameSetElementHTMLHRElementHTMLHeadElementHTMLHeadingElementHTMLHtmlElementHTMLHyperlinkElementUtilsHTMLIFrameElementHTMLImageElementHTMLInputElementHTMLIsIndexElementHTMLKeygenElementHTMLLIElementHTMLLabelElementHTMLLegendElementHTMLLinkElementHTMLMapElementHTMLMediaElementHTMLMetaElementHTMLMeterElementHTMLModElementHTMLOListElementHTMLObjectElementHTMLOptGroupElementHTMLOptionElementHTMLOptionsCollectionHTMLOutputElementHTMLParagraphElementHTMLParamElementHTMLPictureElementHTMLPreElementHTMLProgressElementHTMLQuoteElementHTMLScriptElementHTMLSelectElementHTMLShadowElementHTMLSlotElementHTMLSourceElementHTMLSpanElementHTMLStyleElementHTMLTableCaptionElementHTMLTableCellElementHTMLTableColElementHTMLTableDataCellElementHTMLTableElementHTMLTableHeaderCellElementHTMLTableRowElementHTMLTableSectionElementHTMLTemplateElementHTMLTextAreaElementHTMLTimeElementHTMLTitleElementHTMLTrackElementHTMLUListElementHTMLUnknownElementHTMLVideoElementHashChangeEventHeadersHistory
IDBCursorIDBCursorSyncIDBCursorWithValueIDBDatabaseIDBDatabaseExceptionIDBDatabaseSyncIDBEnvironmentIDBEnvironmentSyncIDBFactoryIDBFactorySyncIDBIndexIDBIndexSyncIDBKeyRangeIDBLocaleAwareKeyRangeIDBMutableFileIDBObjectStoreIDBObjectStoreSyncIDBOpenDBRequestIDBRequestIDBTransactionIDBTransactionSyncIDBVersionChangeEventIDBVersionChangeRequestIIRFilterNodeIdleDeadlineImageBitmapImageBitmapFactoriesImageBitmapRenderingContextImageCaptureImageDataIndexInputDeviceCapabilitiesInputEventInstallEventInstallEventInstallTriggerIntersectionObserverIntersectionObserverEntry
L10n.formatValueL10n.getL10n.language.codeL10n.language.directionL10n.onceL10n.readyL10n.readyStateL10n.setAttributesLinkStyleLocalFileSystemLocalFileSystemSyncLocalMediaStreamLocationLockedFileLongRange
MIDIAccessMIDIConnectionEventMIDIInputMIDIInputMapMIDIOutputMapMSGestureEventMediaDeviceInfoMediaDevicesMediaElementAudioSourceNodeMediaErrorMediaKeyMessageEventMediaKeySessionMediaKeyStatusMapMediaKeySystemAccessMediaKeySystemConfigurationMediaKeysMediaMetadataMediaQueryListMediaQueryListEventMediaQueryListListenerMediaRecorderMediaRecorderErrorEventMediaSessionMediaSettingsRangeMediaSourceMediaStreamMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamConstraintsMediaStreamEventMediaStreamTrackMediaStreamTrackEventMediaTrackConstraintsMediaTrackSettingsMediaTrackSupportedConstraintsMessageChannelMessageEventMessagePortMetadataMimeTypeMimeTypeArrayMouseEventMouseScrollEventMouseWheelEventMutationEventMutationObserverMutationRecord
NameListNamedNodeMapNavigationPreloadManagerNavigatorNavigatorConcurrentHardwareNavigatorGeolocationNavigatorIDNavigatorLanguageNavigatorOnLineNavigatorPluginsNavigatorStorageNetworkInformationNodeNodeFilterNodeIteratorNodeListNonDocumentTypeChildNodeNotationNotificationNotificationEventNotifyAudioAvailableEvent
OES_element_index_uintOES_standard_derivativesOES_texture_floatOES_texture_float_linearOES_texture_half_floatOES_texture_half_float_linearOES_vertex_array_objectOfflineAudioCompletionEventOfflineAudioContextOffscreenCanvasOscillatorNode
PageTransitionEventPannerNodeParentNodePasswordCredentialPath2DPaymentAddressPaymentRequestPaymentRequestUpdateEventPaymentResponsePerformancePerformanceEntryPerformanceFrameTimingPerformanceLongTaskTimingPerformanceMarkPerformanceMeasurePerformanceNavigationPerformanceNavigationTimingPerformanceObserverPerformanceObserverEntryListPerformancePaintTimingPerformanceResourceTimingPerformanceTimingPeriodicWavePermissionStatusPermissionsPhotoCapabilitiesPluginPluginArrayPointPointerEventPopStateEventPositionPositionErrorPositionOptionsPositionSensorVRDevicePresentationPresentationAvailabilityPresentationConnectionPresentationConnectionAvailableEventPresentationConnectionCloseEventPresentationConnectionClosedEventPresentationConnectionListPresentationReceiverPresentationRequestProcessingInstructionProgressEventPromiseRejectionEventPromiseResolverPublicKeyCredentialPublicKeyCredentialRequestOptionsPushEventPushManagerPushMessageDataPushRegistrationManagerPushSubscription
RTCCertificateRTCConfigurationRTCDTMFSenderRTCDTMFToneChangeEventRTCDataChannelRTCDataChannelEventRTCIceCandidateRTCIceServerRTCIdentityAssertionRTCIdentityErrorEventRTCIdentityEventRTCPeerConnectionRTCPeerConnectionIceEventRTCRtpContributingSourceRTCRtpReceiverRTCRtpSenderRTCRtpSynchronizationSourceRTCRtpTransceiverRTCRtpTransceiverDirectionRTCRtpTransceiverInitRTCSctpTransportRTCSessionDescriptionRTCSessionDescriptionCallbackRTCStatsReportRadioNodeListRandomSourceRangeReadableByteStreamControllerReadableStreamReadableStreamBYOBReaderReadableStreamBYOBRequestReadableStreamDefaultControllerReadableStreamDefaultReaderRenderingContextRequestResponse
SVGAElementSVGAltGlyphDefElementSVGAltGlyphElementSVGAltGlyphItemElementSVGAngleSVGAnimateColorElementSVGAnimateElementSVGAnimateMotionElementSVGAnimateTransformElementSVGAnimatedAngleSVGAnimatedBooleanSVGAnimatedEnumerationSVGAnimatedIntegerSVGAnimatedLengthSVGAnimatedLengthListSVGAnimatedNumberSVGAnimatedNumberListSVGAnimatedPointsSVGAnimatedPreserveAspectRatioSVGAnimatedRectSVGAnimatedStringSVGAnimatedTransformListSVGAnimationElementSVGCircleElementSVGClipPathElementSVGColorProfileElementSVGComponentTransferFunctionElementSVGCursorElementSVGDefsElementSVGDescElementSVGElementSVGEllipseElementSVGEventSVGExternalResourcesRequiredSVGFEBlendElementSVGFEComponentTransferElementSVGFECompositeElementSVGFEConvolveMatrixElementSVGFEDiffuseLightingElementSVGFEDisplacementMapElementSVGFEDistantLightElementSVGFEDropShadowElementSVGFEFloodElementSVGFEFuncAElementSVGFEFuncBElementSVGFEFuncGElementSVGFEFuncRElementSVGFEGaussianBlurElementSVGFEImageElementSVGFEMergeElementSVGFEMergeNodeElementSVGFEMorphologyElementSVGFEOffsetElementSVGFEPointLightElementSVGFESpecularLightingElementSVGFESpotLightElementSVGFETileElementSVGFETurbulenceElementSVGFilterElementSVGFilterPrimitiveStandardAttributesSVGFontElementSVGFontFaceElementSVGFontFaceFormatElementSVGFontFaceNameElementSVGFontFaceSrcElementSVGFontFaceUriElementSVGForeignObjectElementSVGGElementSVGGeometryElementSVGGlyphElementSVGGlyphRefElementSVGGradientElementSVGGraphicsElementSVGHKernElementSVGImageElementSVGLengthSVGLengthListSVGLineElementSVGLinearGradientElementSVGMPathElementSVGMaskElementSVGMatrixSVGMeshElementSVGMetadataElementSVGMissingGlyphElementSVGNumberSVGNumberListSVGPathElementSVGPatternElementSVGPointSVGPolygonElementSVGPolylineElementSVGPreserveAspectRatioSVGRadialGradientElementSVGRectSVGRectElementSVGRenderingIntentSVGSVGElementSVGScriptElementSVGSetElementSVGSolidcolorElementSVGStopElementSVGStringListSVGStylableSVGStyleElementSVGSwitchElementSVGSymbolElementSVGTRefElementSVGTSpanElementSVGTestsSVGTextContentElementSVGTextElementSVGTextPathElementSVGTextPositioningElementSVGTitleElementSVGTransformSVGTransformListSVGTransformableSVGURIReferenceSVGUnitTypesSVGUseElementSVGVKernElementSVGViewElementSVGZoomAndPanScreenScreenOrientationScriptProcessorNodeSecurityPolicyViolationEventSelectionServiceWorkerServiceWorkerContainerServiceWorkerGlobalScopeServiceWorkerMessageEventServiceWorkerRegistrationServiceWorkerStateShadowRootSharedWorkerSharedWorkerGlobalScopeSlotableSourceBufferSourceBufferListSpeechGrammarSpeechGrammarListSpeechRecognitionSpeechRecognitionAlternativeSpeechRecognitionErrorSpeechRecognitionEventSpeechRecognitionResultSpeechRecognitionResultListSpeechSynthesisSpeechSynthesisErrorEventSpeechSynthesisEventSpeechSynthesisUtteranceSpeechSynthesisVoiceStaticRangeStereoPannerNodeStorageStorageEstimateStorageEventStorageManagerStorageQuotaStyleSheetStyleSheetListSubtleCryptoSyncEventSyncManager
TaskAttributionTimingTextTextDecoderTextEncoderTextMetricsTextTrackTimeEventTimeRangesTouchTouchEventTouchListTrackDefaultTrackDefaultListTransferableTransitionEventTreeWalkerTypeInfo
VRDisplayVRDisplayCapabilitiesVRDisplayEventVREyeParametersVRFieldOfViewVRFieldOfViewReadOnlyVRFrameDataVRLayerInitVRPoseVRStageParametersVTTCueValidityStateVideoPlaybackQualityVisualViewport
WEBGL_color_buffer_floatWEBGL_compressed_texture_astcWEBGL_compressed_texture_atcWEBGL_compressed_texture_etcWEBGL_compressed_texture_etc1WEBGL_compressed_texture_pvrtcWEBGL_compressed_texture_s3tcWEBGL_compressed_texture_s3tc_srgbWEBGL_debug_renderer_infoWEBGL_debug_shadersWEBGL_depth_textureWEBGL_draw_buffersWEBGL_lose_contextWaveShaperNodeWebGL2RenderingContextWebGLActiveInfoWebGLBufferWebGLContextEventWebGLFramebufferWebGLProgramWebGLQueryWebGLRenderbufferWebGLRenderingContextWebGLSamplerWebGLShaderWebGLShaderPrecisionFormatWebGLSyncWebGLTextureWebGLTransformFeedbackWebGLUniformLocationWebGLVertexArrayObjectWebSocketWebSocketsWheelEventWindowWindowBase64WindowClientWindowEventHandlersWindowOrWorkerGlobalScopeWindowTimersWorkerWorkerGlobalScopeWorkerLocationWorkerNavigatorWorkletWritableStreamWritableStreamDefaultControllerWritableStreamDefaultWriter
文档标签和贡献者
标签:
此页面的贡献者:
stuxt,
zihengCat,
AsukaSong,
shizhouyu,
heineiuo,
fygyx1,
keller0,
xgqfrms-GitHub,
teoli,
Darrel.Hsu,
Fiag,
ethertank,
ziyunfei,
fengzilong
最后编辑者:
stuxt,

