當使用JavaScript編寫網頁代碼時,有很多API可以使用。以下是所有對象、類型等接口的列表,你在開發網頁應用程序或站點時使用它們。
API文檔地址:https://developer.mozilla.org/zh-CN/docs/Web/API
A
ANGLE_instanced_arraysAbstractWorkerAmbientLightSensorAmbientLightSensorReadingAnalyserNodeAnimationAnimationEffectReadOnlyAnimationEffectTimingAnimationEffectTimingPropertiesAnimationEffectTimingReadOnlyAnimationEventAnimationPlaybackEventAnimationTimelineArrayBufferViewAttrAudioBufferAudioBufferSourceNodeAudioContextAudioDestinationNodeAudioListenerAudioNodeAudioParamAudioProcessingEventAudioScheduledSourceNode
BatteryManagerBeforeInstallPromptEventBeforeUnloadEventBiquadFilterNodeBlobBlobBuilderBlobEventBluetoothBluetoothAdvertisingDataBluetoothCharacteristicPropertiesBluetoothRemoteGATTCharacteristicBluetoothRemoteGATTDescriptorBluetoothRemoteGATTServerBluetoothStatusChangedEventBodyBroadcastChannelBudgetServiceBudgetStateBufferSourceByteString
CDATASectionCSSCSSConditionRuleCSSCounterStyleRuleCSSGroupingRuleCSSKeyframeRuleCSSKeyframesRuleCSSMatrixCSSMediaRuleCSSNamespaceRuleCSSPageRuleCSSPrimitiveValueCSSRuleCSSRuleListCSSStyleDeclarationCSSStyleRuleCSSStyleSheetCSSSupportsRuleCSSValueCSSValueListCacheCacheStorageCanvasCaptureMediaStreamCanvasGradientCanvasImageSourceCanvasPatternCanvasRenderingContext2DCaretPositionChannelMergerNodeChannelSplitterNodeCharacterDataChildNodeChromeWorkerClientClientsClipboardEventCloseEventCommentCompositionEventConsoleConstantSourceNodeConstrainBooleanConstrainDOMStringConstrainDoubleConstrainLongConvolverNodeCoordinatesCredentialCredentialsContainerCryptoCryptoKeyCustomElementRegistryCustomEvent
DOMConfigurationDOMErrorDOMErrorHandlerDOMExceptionDOMHighResTimeStampDOMImplementationDOMImplementationListDOMImplementationRegistryDOMImplementationSourceDOMLocatorDOMMatrixDOMMatrixReadOnlyDOMObjectDOMParserDOMPointDOMPointReadOnlyDOMRectDOMRectReadOnlyDOMStringDOMStringListDOMStringMapDOMTimeStampDOMTokenListDOMUserDataDataTransferDataTransferItemDataTransferItemListDedicatedWorkerGlobalScopeDelayNodeDeviceAccelerationDeviceLightEventDeviceMotionEventDeviceOrientationEventDeviceProximityEventDeviceRotationRateDirectoryEntrySyncDirectoryReaderSyncDocumentDocumentFragmentDocumentOrShadowRootDocumentTimelineDocumentTouchDocumentTypeDoubleRangeDragEventDynamicsCompressorNode
EXT_blend_minmaxEXT_color_buffer_floatEXT_color_buffer_half_floatEXT_disjoint_timer_queryEXT_frag_depthEXT_sRGBEXT_shader_texture_lodEXT_texture_filter_anisotropicElementElementTraversalEntityEntityReferenceEntrySyncErrorEventEventEventListenerEventSourceEventTargetExtendableEventExtendableMessageEvent
FederatedCredentialFetchControllerFetchEventFetchObserverFetchSignalFileFileEntrySyncFileErrorFileExceptionFileListFileReaderFileReaderSyncFileRequestFileSystemFileSystemDirectoryEntryFileSystemDirectoryReaderFileSystemEntryFileSystemFileEntryFileSystemFlagsFileSystemSyncFocusEventFontFaceFontFaceSetFontFaceSetLoadEventFormData
GainNodeGamepadGamepadButtonGamepadEventGamepadHapticActuatorGamepadPoseGeolocationGestureEventGlobalEventHandlersGlobalFetch
HMDVRDeviceHTMLAnchorElementHTMLAreaElementHTMLAudioElementHTMLBRElementHTMLBaseElementHTMLBaseFontElementHTMLBodyElementHTMLButtonElementHTMLCanvasElementHTMLCollectionHTMLContentElementHTMLDListElementHTMLDataElementHTMLDataListElementHTMLDialogElementHTMLDivElementHTMLDocumentHTMLElementHTMLEmbedElementHTMLFieldSetElementHTMLFontElementHTMLFormControlsCollectionHTMLFormElementHTMLFrameSetElementHTMLHRElementHTMLHeadElementHTMLHeadingElementHTMLHtmlElementHTMLHyperlinkElementUtilsHTMLIFrameElementHTMLImageElementHTMLInputElementHTMLIsIndexElementHTMLKeygenElementHTMLLIElementHTMLLabelElementHTMLLegendElementHTMLLinkElementHTMLMapElementHTMLMediaElementHTMLMetaElementHTMLMeterElementHTMLModElementHTMLOListElementHTMLObjectElementHTMLOptGroupElementHTMLOptionElementHTMLOptionsCollectionHTMLOutputElementHTMLParagraphElementHTMLParamElementHTMLPictureElementHTMLPreElementHTMLProgressElementHTMLQuoteElementHTMLScriptElementHTMLSelectElementHTMLShadowElementHTMLSlotElementHTMLSourceElementHTMLSpanElementHTMLStyleElementHTMLTableCaptionElementHTMLTableCellElementHTMLTableColElementHTMLTableDataCellElementHTMLTableElementHTMLTableHeaderCellElementHTMLTableRowElementHTMLTableSectionElementHTMLTemplateElementHTMLTextAreaElementHTMLTimeElementHTMLTitleElementHTMLTrackElementHTMLUListElementHTMLUnknownElementHTMLVideoElementHashChangeEventHeadersHistory
IDBCursorIDBCursorSyncIDBCursorWithValueIDBDatabaseIDBDatabaseExceptionIDBDatabaseSyncIDBEnvironmentIDBEnvironmentSyncIDBFactoryIDBFactorySyncIDBIndexIDBIndexSyncIDBKeyRangeIDBLocaleAwareKeyRangeIDBMutableFileIDBObjectStoreIDBObjectStoreSyncIDBOpenDBRequestIDBRequestIDBTransactionIDBTransactionSyncIDBVersionChangeEventIDBVersionChangeRequestIIRFilterNodeIdentityManagerIdleDeadlineImageBitmapImageBitmapFactoriesImageBitmapRenderingContextImageDataIndexInputDeviceCapabilitiesInputEventInstallEventInstallEventInstallTriggerIntersectionObserverIntersectionObserverEntry
L10n.formatValueL10n.getL10n.language.codeL10n.language.directionL10n.onceL10n.readyL10n.readyStateL10n.setAttributesLinkStyleLocalFileSystemLocalFileSystemSyncLocalMediaStreamLocationLockedFileLongRange
MIDIAccessMIDIConnectionEventMIDIInputMIDIInputMapMIDIOutputMapMSGestureEventMediaDeviceInfoMediaDevicesMediaElementAudioSourceNodeMediaErrorMediaKeyMessageEventMediaKeySessionMediaKeyStatusMapMediaKeySystemAccessMediaKeySystemConfigurationMediaKeysMediaMetadataMediaQueryListMediaQueryListEventMediaQueryListListenerMediaRecorderMediaSessionMediaSourceMediaStreamMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamConstraintsMediaStreamEventMediaStreamTrackMediaStreamTrackEventMediaTrackConstraintsMediaTrackSettingsMediaTrackSupportedConstraintsMessageChannelMessageEventMessagePortMetadataMimeTypeMimeTypeArrayMouseEventMouseScrollEventMouseWheelEventMutationEventMutationObserverMutationRecord
NameListNamedNodeMapNavigatorNavigatorConcurrentHardwareNavigatorGeolocationNavigatorIDNavigatorLanguageNavigatorOnLineNavigatorPluginsNavigatorStorageNetworkInformationNodeNodeFilterNodeIteratorNodeListNonDocumentTypeChildNodeNotationNotificationNotificationEventNotifyAudioAvailableEvent
OES_element_index_uintOES_standard_derivativesOES_texture_floatOES_texture_float_linearOES_texture_half_floatOES_texture_half_float_linearOES_vertex_array_objectObserverCallbackOfflineAudioCompletionEventOfflineAudioContextOffscreenCanvasOscillatorNode
PageTransitionEventPannerNodeParentNodePasswordCredentialPath2DPaymentAddressPaymentRequestPaymentRequestUpdateEventPaymentResponsePerformancePerformanceEntryPerformanceFrameTimingPerformanceLongTaskTimingPerformanceMarkPerformanceMeasurePerformanceNavigationPerformanceNavigationTimingPerformanceObserverPerformanceObserverEntryListPerformanceResourceTimingPerformanceTimingPeriodicSyncEventPeriodicSyncManagerPeriodicSyncRegistrationPeriodicWavePermissionStatusPermissionsPluginPluginArrayPointPointerEventPopStateEventPortCollectionPositionPositionErrorPositionOptionsPositionSensorVRDevicePresentationPresentationAvailabilityPresentationConnectionPresentationConnectionAvailableEventPresentationConnectionCloseEventPresentationConnectionClosedEventPresentationConnectionListPresentationReceiverPresentationRequestProcessingInstructionProgressEventPromiseRejectionPromiseRejectionEventPromiseResolverPushEventPushManagerPushMessageDataPushRegistrationManagerPushSubscription
RTCCertificateRTCConfigurationRTCDTMFSenderRTCDTMFToneChangeEventRTCDataChannelRTCDataChannelEventRTCIceCandidateRTCIceServerRTCIdentityAssertionRTCIdentityErrorEventRTCIdentityEventRTCPeerConnectionRTCPeerConnectionIceEventRTCRtpSenderRTCSctpTransportRTCSessionDescriptionRTCSessionDescriptionCallbackRTCStatsReportRadioNodeListRandomSourceRangeReadableStreamRenderingContextRequestResponse
SVGAElementSVGAltGlyphDefElementSVGAltGlyphElementSVGAltGlyphItemElementSVGAngleSVGAnimateColorElementSVGAnimateElementSVGAnimateMotionElementSVGAnimateTransformElementSVGAnimatedAngleSVGAnimatedBooleanSVGAnimatedEnumerationSVGAnimatedIntegerSVGAnimatedLengthSVGAnimatedLengthListSVGAnimatedNumberSVGAnimatedNumberListSVGAnimatedPointsSVGAnimatedPreserveAspectRatioSVGAnimatedRectSVGAnimatedStringSVGAnimatedTransformListSVGAnimationElementSVGCircleElementSVGClipPathElementSVGColorProfileElementSVGComponentTransferFunctionElementSVGCursorElementSVGDefsElementSVGDescElementSVGElementSVGEllipseElementSVGEventSVGExternalResourcesRequiredSVGFEBlendElementSVGFEComponentTransferElementSVGFECompositeElementSVGFEConvolveMatrixElementSVGFEDiffuseLightingElementSVGFEDisplacementMapElementSVGFEDistantLightElementSVGFEDropShadowElementSVGFEFloodElementSVGFEFuncAElementSVGFEFuncBElementSVGFEFuncGElementSVGFEFuncRElementSVGFEGaussianBlurElementSVGFEImageElementSVGFEMergeElementSVGFEMergeNodeElementSVGFEMorphologyElementSVGFEOffsetElementSVGFEPointLightElementSVGFESpecularLightingElementSVGFESpotLightElementSVGFETileElementSVGFETurbulenceElementSVGFilterElementSVGFilterPrimitiveStandardAttributesSVGFontElementSVGFontFaceElementSVGFontFaceFormatElementSVGFontFaceNameElementSVGFontFaceSrcElementSVGFontFaceUriElementSVGForeignObjectElementSVGGElementSVGGeometryElementSVGGlyphElementSVGGlyphRefElementSVGGradientElementSVGGraphicsElementSVGHKernElementSVGImageElementSVGLengthSVGLengthListSVGLineElementSVGLinearGradientElementSVGMPathElementSVGMaskElementSVGMatrixSVGMeshElementSVGMetadataElementSVGMissingGlyphElementSVGNumberSVGNumberListSVGPathElementSVGPatternElementSVGPointSVGPolygonElementSVGPolylineElementSVGPreserveAspectRatioSVGRadialGradientElementSVGRectSVGRectElementSVGRenderingIntentSVGSVGElementSVGScriptElementSVGSetElementSVGSolidcolorElementSVGStopElementSVGStringListSVGStylableSVGStyleElementSVGSwitchElementSVGSymbolElementSVGTRefElementSVGTSpanElementSVGTestsSVGTextContentElementSVGTextElementSVGTextPathElementSVGTextPositioningElementSVGTitleElementSVGTransformSVGTransformListSVGTransformableSVGURIReferenceSVGUnitTypesSVGUseElementSVGVKernElementSVGViewElementSVGZoomAndPanScreenScriptProcessorNodeSecurityPolicyViolationEventSelectionServiceWorkerServiceWorkerContainerServiceWorkerGlobalScopeServiceWorkerMessageEventServiceWorkerRegistrationServiceWorkerStateShadowRootSharedKeyframeListSharedWorkerSharedWorkerGlobalScopeSourceBufferSourceBufferListSpeechGrammarSpeechGrammarListSpeechRecognitionSpeechRecognitionAlternativeSpeechRecognitionErrorSpeechRecognitionEventSpeechRecognitionResultSpeechRecognitionResultListSpeechSynthesisSpeechSynthesisErrorEventSpeechSynthesisEventSpeechSynthesisUtteranceSpeechSynthesisVoiceStereoPannerNodeStorageStorageEstimateStorageEventStorageManagerStorageQuotaStyleSheetStyleSheetListSubtleCryptoSyncEventSyncManager
TaskAttributionTimingTextTextDecoderTextEncoderTextMetricsTextTrackTimeEventTimeRangesTouchTouchEventTouchListTrackDefaultTrackDefaultListTransferableTransitionEventTreeWalkerTypeInfo
VRDisplayVRDisplayCapabilitiesVRDisplayEventVREyeParametersVRFieldOfViewVRFieldOfViewReadOnlyVRFrameDataVRLayerInitVRPoseVRStageParametersVTTCueValidityStateVideoPlaybackQuality
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_contextWaveShaperNodeWebGLWebGL2RenderingContextWebGLActiveInfoWebGLBufferWebGLContextEventWebGLFramebufferWebGLProgramWebGLQueryWebGLRenderbufferWebGLRenderingContextWebGLSamplerWebGLShaderWebGLShaderPrecisionFormatWebGLSyncWebGLTextureWebGLTransformFeedbackWebGLUniformLocationWebGLVertexArrayObjectWebSocketWebSocketsWheelEventWindowWindowBase64WindowClientWindowEventHandlersWindowOrWorkerGlobalScopeWindowTimersWorkerWorkerGlobalScopeWorkerLocationWorkerNavigator
