Có rất nhiều API tốt khi viết Web bằng Javascript. Dưới đây là danh sách những interfaces (những kiểu object) mà bạn có thể sử dụng khi phát triển Web app hay Website.
Web APIs thường được viết bởi JavaScript, nhưng không phải luôn là như vậy.
Đặc tả
Đây là danh sách tất cả những API sẵn có.
A
- Alarm API
- Ambient Light Events
- App Cache
- Application Compatibility Layer
- Apps
- Archive API
- Audio Channels API
- Background Tasks
- Battery API
- Beacon
- Bluetooth API
- Bluetooth API (Firefox OS)
- Broadcast Channel API
- Browser API
- CSS Counter Styles
- CSS Font Loading API
- CSSOM
- CSSOM View
- Camera API
- Canvas API
- Channel Messaging API
- Clipboard API
- Console API
- Contacts API
- Credential Management API
- DOM
- DOM (Non-standard)
- DOM Events
- Data Store API
- Device Orientation Events
- Device Storage API
- Directory Upload API
- Download API
- Identity
- Idle API
- Image Capture API
- IndexedDB
- Input Port API
- Inter-App Connection API
- Intersection Observer API
- MSISDN Verification API
- Media Capabilities API
- Media Capture and Streams
- Media Session API
- Media Source Extensions
- MediaStream Recording
- Mobile Connection API
- Mobile Messaging API
- Mozilla Payment API
- Page Visibility API
- Payment Request API
- Performance API
- Performance Timeline API
- Permissions API
- Permissions API (Firefox OS)
- Pointer Events
- Pointer Lock API
- Power Management API
- Presentation API
- Proximity Events
- Push API
- SVG
- Screen Capture API
- Screen Orientation API
- Selection API
- Server Sent Events
- Service Workers API
- Settings API
- Simple Push API
- Social API
- Speaker Manager API
- Storage
- Streams
- System Update API
- Wake Lock API
- Web Activities
- Web Animations
- Web Audio API
- Web Authentication API
- Web Components
- Web Crypto API
- Web MIDI API
- Web Manifest
- Web Notifications
- Web Speech API
- Web Storage API
- Web Telephony API
- Web Workers API
- WebGL
- WebRTC
- WebVR API
- WebVTT
- Websockets API
- WiFi Information API
- WiFi P2P API
- WiFi Tethering API
Interfaces
Đây là danh sách tất cả những interfaces (những kiểu object) sẵn có.
A
ANGLE_instanced_arraysAbortControllerAbortSignalAbsoluteOrientationSensorAbstractWorkerAccelerometerAddressErrorsAesCbcParamsAesCtrParamsAesGcmParamsAesKeyGenParamsAmbientLightSensorAnalyserNodeAnimationAnimationEffectAnimationEventAnimationPlaybackEventAnimationTimelineArrayBufferViewAttrAudioBufferAudioBufferSourceNodeAudioConfigurationAudioContextAudioContextLatencyCategoryAudioContextOptionsAudioDestinationNodeAudioListenerAudioNodeAudioNodeOptionsAudioParamAudioParamMapAudioProcessingEventAudioScheduledSourceNodeAudioTrackAudioTrackListAuthenticatorAssertionResponseAuthenticatorAttestationResponseAuthenticatorResponse
BaseAudioContextBasicCardRequestBasicCardResponseBatteryManagerBeforeInstallPromptEventBeforeUnloadEventBiquadFilterNodeBlobBlobBuilderBlobEventBluetoothBluetoothAdvertisingDataBluetoothCharacteristicPropertiesBluetoothDeviceBluetoothRemoteGATTCharacteristicBluetoothRemoteGATTDescriptorBluetoothRemoteGATTServerBluetoothRemoteGATTServiceBluetoothStatusChangedEventBodyBroadcastChannelBudgetServiceBudgetStateBufferSourceByteLengthQueuingStrategyByteString
CDATASectionCSSCSSConditionRuleCSSCounterStyleRuleCSSGroupingRuleCSSImageValueCSSKeyframeRuleCSSKeyframesRuleCSSKeywordValueCSSMatrixCSSMediaRuleCSSNamespaceRuleCSSOMStringCSSPageRuleCSSPositionValueCSSPrimitiveValueCSSRuleCSSRuleListCSSStyleDeclarationCSSStyleRuleCSSStyleSheetCSSStyleValueCSSSupportsRuleCSSValueCSSValueListCacheCacheStorageCanvasCaptureMediaStreamTrackCanvasGradientCanvasImageSourceCanvasPatternCanvasRenderingContext2DCaretPositionChannelMergerNodeChannelSplitterNodeCharacterDataChildNodeClientClientsClipboardClipboardEventCloseEventCommentCompositionEventConsoleConstantSourceNodeConstrainBooleanConstrainDOMStringConstrainDoubleConstrainLongConvolverNodeCoordinatesCountQueuingStrategyCredentialCredentialsContainerCryptoCryptoKeyCryptoKeyPairCustomElementRegistryCustomEvent
DOMConfigurationDOMErrorDOMExceptionDOMHighResTimeStampDOMImplementationDOMImplementationListDOMLocatorDOMMatrixDOMMatrixReadOnlyDOMObjectDOMParserDOMPointDOMPointInitDOMPointReadOnlyDOMQuadDOMRectDOMRectReadOnlyDOMStringDOMStringListDOMStringMapDOMTimeStampDOMTokenListDOMUserDataDataTransferDataTransferItemDataTransferItemListDedicatedWorkerGlobalScopeDelayNodeDeviceAccelerationDeviceLightEventDeviceMotionEventDeviceOrientationEventDeviceProximityEventDeviceRotationRateDirectoryEntrySyncDirectoryReaderSyncDisplayMediaStreamConstraintsDocumentDocumentFragmentDocumentOrShadowRootDocumentTimelineDocumentTouchDocumentTypeDoubleRangeDragEventDynamicsCompressorNode
EXT_blend_minmaxEXT_color_buffer_floatEXT_color_buffer_half_floatEXT_disjoint_timer_queryEXT_frag_depthEXT_sRGBEXT_shader_texture_lodEXT_texture_filter_anisotropicEcKeyGenParamsEcKeyImportParamsEcdhKeyDeriveParamsEcdsaParamsEffectTimingElementElementTraversalErrorEventEventEventListenerEventSourceEventTargetExtendableEventExtendableMessageEvent
FederatedCredentialFetchEventFileFileEntrySyncFileErrorFileExceptionFileListFileReaderFileReaderSyncFileRequestFileSystemFileSystemDirectoryEntryFileSystemDirectoryReaderFileSystemEntryFileSystemEntrySyncFileSystemFileEntryFileSystemFlagsFileSystemSyncFocusEventFontFaceFontFaceSetFontFaceSetLoadEventFormDataFullscreenOptions
GainNodeGamepadGamepadButtonGamepadEventGamepadHapticActuatorGamepadPoseGeolocationGeometryUtilsGestureEventGlobalEventHandlersGyroscope
HMDVRDeviceHTMLAnchorElementHTMLAreaElementHTMLAudioElementHTMLBRElementHTMLBaseElementHTMLBaseFontElementHTMLBodyElementHTMLButtonElementHTMLCanvasElementHTMLCollectionHTMLContentElementHTMLDListElementHTMLDataElementHTMLDataListElementHTMLDetailsElementHTMLDialogElementHTMLDivElementHTMLDocumentHTMLElementHTMLEmbedElementHTMLFieldSetElementHTMLFontElementHTMLFormControlsCollectionHTMLFormElementHTMLFrameSetElementHTMLHRElementHTMLHeadElementHTMLHeadingElementHTMLHtmlElementHTMLHyperlinkElementUtilsHTMLIFrameElementHTMLImageElementHTMLInputElementHTMLIsIndexElementHTMLKeygenElementHTMLLIElementHTMLLabelElementHTMLLegendElementHTMLLinkElementHTMLMapElementHTMLMarqueeElementHTMLMediaElementHTMLMetaElementHTMLMeterElementHTMLModElementHTMLOListElementHTMLObjectElementHTMLOptGroupElementHTMLOptionElementHTMLOptionsCollectionHTMLOutputElementHTMLParagraphElementHTMLParamElementHTMLPictureElementHTMLPreElementHTMLProgressElementHTMLQuoteElementHTMLScriptElementHTMLSelectElementHTMLShadowElementHTMLSlotElementHTMLSourceElementHTMLSpanElementHTMLStyleElementHTMLTableCaptionElementHTMLTableCellElementHTMLTableColElementHTMLTableDataCellElementHTMLTableElementHTMLTableHeaderCellElementHTMLTableRowElementHTMLTableSectionElementHTMLTemplateElementHTMLTextAreaElementHTMLTimeElementHTMLTitleElementHTMLTrackElementHTMLUListElementHTMLUnknownElementHTMLVideoElementHashChangeEventHeadersHistoryHkdfParamsHmacImportParamsHmacKeyGenParams
IDBCursorIDBCursorSyncIDBCursorWithValueIDBDatabaseIDBDatabaseExceptionIDBDatabaseSyncIDBEnvironmentIDBEnvironmentSyncIDBFactoryIDBFactorySyncIDBIndexIDBIndexSyncIDBKeyRangeIDBLocaleAwareKeyRangeIDBMutableFileIDBObjectStoreIDBObjectStoreSyncIDBOpenDBRequestIDBRequestIDBTransactionIDBTransactionSyncIDBVersionChangeEventIDBVersionChangeRequestIIRFilterNodeIdleDeadlineImageBitmapImageBitmapRenderingContextImageCaptureImageDataIndexInputDeviceCapabilitiesInputEventInstallEventInstallTriggerIntersectionObserverIntersectionObserverEntry
LinearAccelerationSensorLinkStyleLocalFileSystemLocalFileSystemSyncLocalMediaStreamLocationLockLockManagerLockedFileLongRange
MIDIAccessMIDIConnectionEventMIDIInputMIDIInputMapMIDIOutputMapMSCandidateWindowHideMSCandidateWindowShowMSCandidateWindowUpdateMSGestureEventMSGraphicsTrustMSManipulationEventMSRangeCollectionMSSiteModeEventMagnetometerMediaCapabilitiesMediaCapabilitiesInfoMediaConfigurationMediaDecodingConfigurationMediaDeviceInfoMediaDevicesMediaElementAudioSourceNodeMediaEncodingConfigurationMediaErrorMediaKeyMessageEventMediaKeySessionMediaKeyStatusMapMediaKeySystemAccessMediaKeySystemConfigurationMediaKeysMediaMetadataMediaQueryListMediaQueryListEventMediaQueryListListenerMediaRecorderMediaRecorderErrorEventMediaSessionMediaSettingsRangeMediaSourceMediaStreamMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamAudioSourceOptionsMediaStreamConstraintsMediaStreamEventMediaStreamTrackMediaStreamTrackEventMediaTrackConstraintsMediaTrackSettingsMediaTrackSupportedConstraintsMerchantValidationEventMessageChannelMessageEventMessagePortMetadataMimeTypeMimeTypeArrayMouseEventMouseScrollEventMouseWheelEventMutationEventMutationObserverMutationObserverInitMutationRecord
NameListNamedNodeMapNavigationPreloadManagerNavigatorNavigatorConcurrentHardwareNavigatorGeolocationNavigatorIDNavigatorLanguageNavigatorOnLineNavigatorPluginsNavigatorStorageNetworkInformationNodeNodeFilterNodeIteratorNodeListNonDocumentTypeChildNodeNotationNotificationNotificationEventNotifyAudioAvailableEvent
OES_element_index_uintOES_standard_derivativesOES_texture_floatOES_texture_float_linearOES_texture_half_floatOES_texture_half_float_linearOES_vertex_array_objectOfflineAudioCompletionEventOfflineAudioContextOffscreenCanvasOrientationSensorOscillatorNodeOverconstrainedError
PageTransitionEventPannerNodeParentNodePasswordCredentialPath2DPayerErrorsPaymentAddressPaymentCurrencyAmountPaymentDetailsBasePaymentDetailsUpdatePaymentItemPaymentMethodChangeEventPaymentRequestPaymentRequestEventPaymentRequestUpdateEventPaymentResponsePaymentValidationErrorsPbkdf2ParamsPerformancePerformanceEntryPerformanceFrameTimingPerformanceLongTaskTimingPerformanceMarkPerformanceMeasurePerformanceNavigationPerformanceNavigationTimingPerformanceObserverPerformanceObserverEntryListPerformancePaintTimingPerformanceResourceTimingPerformanceServerTimingPerformanceTimingPeriodicWavePermissionStatusPermissionsPhotoCapabilitiesPluginPluginArrayPointPointerEventPopStateEventPositionPositionErrorPositionOptionsPositionSensorVRDevicePresentationPresentationAvailabilityPresentationConnectionPresentationConnectionAvailableEventPresentationConnectionCloseEventPresentationConnectionListPresentationReceiverPresentationRequestProcessingInstructionProgressEventPromiseRejectionEventPublicKeyCredentialPublicKeyCredentialCreationOptionsPublicKeyCredentialRequestOptionsPushEventPushManagerPushMessageDataPushRegistrationManagerPushSubscription
RTCAnswerOptionsRTCCertificateRTCConfigurationRTCDTMFSenderRTCDTMFToneChangeEventRTCDataChannelRTCDataChannelEventRTCIceCandidateRTCIceCandidateInitRTCIceCandidatePairRTCIceCandidateStatsRTCIceCandidateTypeRTCIceComponentRTCIceGathererStateRTCIceParametersRTCIceProtocolRTCIceRoleRTCIceServerRTCIceTcpCandidateTypeRTCIceTransportRTCIceTransportStateRTCIdentityAssertionRTCIdentityErrorEventRTCIdentityEventRTCOfferAnswerOptionsRTCOfferOptionsRTCPeerConnectionRTCPeerConnectionIceEventRTCRtpCodecParametersRTCRtpContributingSourceRTCRtpEncodingParametersRTCRtpReceiverRTCRtpSendParametersRTCRtpSenderRTCRtpStreamStatsRTCRtpSynchronizationSourceRTCRtpTransceiverRTCRtpTransceiverDirectionRTCRtpTransceiverInitRTCSctpTransportRTCSessionDescriptionRTCSessionDescriptionCallbackRTCStatsRTCStatsReportRTCStatsTypeRTCTrackEventRTCTrackEventInitRadioNodeListRangeReadableByteStreamControllerReadableStreamReadableStreamBYOBReaderReadableStreamBYOBRequestReadableStreamDefaultControllerReadableStreamDefaultReaderRelativeOrientationSensorRenderingContextRequestRequestDestinationResizeObserverResizeObserverEntryResponseRsaHashedImportParamsRsaHashedKeyGenParamsRsaOaepParamsRsaPssParams
SVGAElementSVGAltGlyphDefElementSVGAltGlyphElementSVGAltGlyphItemElementSVGAngleSVGAnimateColorElementSVGAnimateElementSVGAnimateMotionElementSVGAnimateTransformElementSVGAnimatedAngleSVGAnimatedBooleanSVGAnimatedEnumerationSVGAnimatedIntegerSVGAnimatedLengthSVGAnimatedLengthListSVGAnimatedNumberSVGAnimatedNumberListSVGAnimatedPointsSVGAnimatedPreserveAspectRatioSVGAnimatedRectSVGAnimatedStringSVGAnimatedTransformListSVGAnimationElementSVGCircleElementSVGClipPathElementSVGColorProfileElementSVGComponentTransferFunctionElementSVGCursorElementSVGDefsElementSVGDescElementSVGElementSVGEllipseElementSVGEventSVGExternalResourcesRequiredSVGFEBlendElementSVGFEColorMatrixElementSVGFEComponentTransferElementSVGFECompositeElementSVGFEConvolveMatrixElementSVGFEDiffuseLightingElementSVGFEDisplacementMapElementSVGFEDistantLightElementSVGFEDropShadowElementSVGFEFloodElementSVGFEFuncAElementSVGFEFuncBElementSVGFEFuncGElementSVGFEFuncRElementSVGFEGaussianBlurElementSVGFEImageElementSVGFEMergeElementSVGFEMergeNodeElementSVGFEMorphologyElementSVGFEOffsetElementSVGFEPointLightElementSVGFESpecularLightingElementSVGFESpotLightElementSVGFETileElementSVGFETurbulenceElementSVGFilterElementSVGFilterPrimitiveStandardAttributesSVGFontElementSVGFontFaceElementSVGFontFaceFormatElementSVGFontFaceNameElementSVGFontFaceSrcElementSVGFontFaceUriElementSVGForeignObjectElementSVGGElementSVGGeometryElementSVGGlyphElementSVGGlyphRefElementSVGGradientElementSVGGraphicsElementSVGHKernElementSVGImageElementSVGLengthSVGLengthListSVGLineElementSVGLinearGradientElementSVGMPathElementSVGMaskElementSVGMatrixSVGMeshElementSVGMetadataElementSVGMissingGlyphElementSVGNumberSVGNumberListSVGPathElementSVGPatternElementSVGPointSVGPolygonElementSVGPolylineElementSVGPreserveAspectRatioSVGRadialGradientElementSVGRectSVGRectElementSVGRenderingIntentSVGSVGElementSVGScriptElementSVGSetElementSVGSolidcolorElementSVGStopElementSVGStringListSVGStylableSVGStyleElementSVGSwitchElementSVGSymbolElementSVGTRefElementSVGTSpanElementSVGTestsSVGTextContentElementSVGTextElementSVGTextPathElementSVGTextPositioningElementSVGTitleElementSVGTransformSVGTransformListSVGTransformableSVGURIReferenceSVGUnitTypesSVGUseElementSVGVKernElementSVGViewElementSVGZoomAndPanScreenScreenOrientationScriptProcessorNodeScrollToOptionsSecurityPolicyViolationEventSelectionSensorSensorErrorEventServiceWorkerServiceWorkerContainerServiceWorkerGlobalScopeServiceWorkerMessageEventServiceWorkerRegistrationServiceWorkerStateShadowRootSharedWorkerSharedWorkerGlobalScopeSlotableSourceBufferSourceBufferListSpeechGrammarSpeechGrammarListSpeechRecognitionSpeechRecognitionAlternativeSpeechRecognitionErrorSpeechRecognitionEventSpeechRecognitionResultSpeechRecognitionResultListSpeechSynthesisSpeechSynthesisErrorEventSpeechSynthesisEventSpeechSynthesisUtteranceSpeechSynthesisVoiceStaticRangeStereoPannerNodeStorageStorageEstimateStorageEventStorageManagerStorageQuotaStylePropertyMapStylePropertyMapReadOnlyStyleSheetStyleSheetListSubtleCryptoSyncEventSyncManager
TaskAttributionTimingTextTextDecoderTextEncoderTextMetricsTextTrackTextTrackCueTimeEventTimeRangesTouchTouchEventTouchListTrackDefaultTrackDefaultListTrackEventTransferableTransitionEventTreeWalkerTypeInfo
UIEventURLURLSearchParamsURLUtilsReadOnlyUSBUSBDeviceUSVStringUserDataHandlerUserProximityEvent
VRDisplayVRDisplayCapabilitiesVRDisplayEventVREyeParametersVRFieldOfViewVRFrameDataVRLayerInitVRPoseVRStageParametersVTTCueVTTRegionValidityStateVideoConfigurationVideoPlaybackQualityVideoTrackVideoTrackListVisualViewport
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_contextWaveShaperNodeWebGL2RenderingContextWebGLActiveInfoWebGLBufferWebGLContextEventWebGLFramebufferWebGLProgramWebGLQueryWebGLRenderbufferWebGLRenderingContextWebGLSamplerWebGLShaderWebGLShaderPrecisionFormatWebGLSyncWebGLTextureWebGLTransformFeedbackWebGLUniformLocationWebGLVertexArrayObjectWebSocketWheelEventWindowWindowClientWindowEventHandlersWindowOrWorkerGlobalScopeWorkerWorkerGlobalScopeWorkerLocationWorkerNavigatorWorkletWritableStreamWritableStreamDefaultControllerWritableStreamDefaultWriter

