API Reference
| Module | Description |
|---|---|
| Module Loading | Provides dynamic module loading and dependency management, supporting on-demand loading and module decoupling |
| Basis | Provides basic runtime capabilities, such as global objects, utility functions, logging, timers, and event mechanisms |
| render | Handles the rendering engine for pages or components, including view updates and virtual DOM / render tree management |
| Interface | Provides the UI component system and interaction capabilities, such as page structure, component library, style management, and user interaction handling |
| Network | Provides networking capabilities, such as HTTP/HTTPS requests, WebSocket, upload/download, and request interception |
| Open APIs | Get login credentials, basic user information, and user profile data |
| Storage | Provides local data storage capabilities, such as cache, KV storage, and databases (e.g. IndexedDB / SQLite) |
| Media | Choose, preview, and save images; play and record audio and video |
| Location | Provides geolocation capabilities, such as positioning, coordinate retrieval, and map services |
| File | Provides file read/write and management capabilities, such as file upload/download and local file system access |
| Permission | Manages system permission requests and validation, such as camera, microphone, and location permission control |
| Device | Provides device-related capabilities, such as device information retrieval, sensors (accelerometer, gyroscope), and vibration |
| Worker | Provides multithreading or background task capabilities, such as Web Worker, for executing time-consuming tasks without blocking the main thread |
| WebAssembly APIs | Provides WebAssembly support, enabling high-performance code (e.g. C/C++/Rust) to run at runtime |
| Other | Provides uncategorized extended capabilities, such as third-party plugins, experimental APIs, or platform-specific features |
