Web API 指南
Web 包含大量各种类型的 API,你可以在 JavaScript 中使用这些 API 来构建功能越来越强大且有能力的应用程序。而且,它们不但能在 Web 或本地运行,也可以通过 Node.js 等技术在服务器上运行。在此页面上,你可以找到整个 Web 技术栈提供的所有 API 的完整列表。
Web API(按字母顺序排列)
A
B
- Background Fetch API (en-US) 实验性
- Background Sync (en-US) 实验性
- Background Tasks
- Barcode Detection API (en-US) 实验性
- Battery API
- Beacon
- Bluetooth API (en-US) 实验性
- Broadcast Channel API
C
- CSS Counter Styles
- CSS Custom Highlight API 实验性
- CSS Font Loading API
- CSS Painting API (en-US) 实验性
- CSS Properties and Values API
- CSS Typed Object Model API (en-US)
- CSSOM
- Canvas API
- Channel Messaging API
- Clipboard API
- Compression Streams API
- Console API
- Contact Picker API (en-US) 实验性
- Content Index API (en-US) 实验性
- Cookie Store API (en-US) 实验性
- Credential Management API
D
E
F
G
H
I
- Idle Detection API (en-US) 实验性
- Image Capture API (en-US) 实验性
- IndexedDB
- Ink API (en-US) 实验性
- Intersection Observer API
K
L
M
- Media Capabilities API (en-US)
- Media Capture and Streams
- Media Session API (en-US)
- Media Source Extensions 实验性
- MediaStream Recording
N
P
- Page Visibility API
- Payment Handler API (en-US) 实验性
- Payment Request API
- Performance API
- Periodic Background Sync (en-US) 实验性
- Permissions API (en-US)
- Picture-in-Picture API
- Pointer Events
- Pointer Lock API
- Popover API (en-US)
- Presentation API (en-US) 实验性
- Prioritized Task Scheduling API (en-US)
- Push API
R
S
- Screen Capture API
- Screen Orientation API (en-US)
- Screen Wake Lock API (en-US)
- Selection API (en-US)
- Sensor API
- Server Sent Events
- Service Workers API
- Storage
- Storage Access API (en-US)
- Streams
T
U
V
W
- Web Animations
- Web Audio API
- Web Authentication API
- Web Components
- Web Crypto API
- Web Locks API (en-US)
- Web MIDI API (en-US)
- Web NFC API (en-US) 实验性
- Web Notifications
- Web Share API (en-US)
- Web Speech API
- Web Storage API
- Web Workers API
- WebCodecs API
- WebGL
- WebGPU API 实验性
- WebHID API (en-US) 实验性
- WebOTP API (en-US)
- WebRTC
- WebTransport API (en-US)
- WebUSB API (en-US) 实验性
- WebVR API 非标准 已弃用
- WebVTT
- WebXR Device API 实验性
- Websockets API
- Window Controls Overlay API (en-US) 实验性
X
参见
- Web API 接口参考(所有 API 的所有接口的索引)
- 文档对象模型(DOM)
- Web API 事件参考
- 学习 Web 开发