Skip to content

API Reference ​

ModuleDescription
Module LoadingProvides dynamic module loading and dependency management, supporting on-demand loading and module decoupling
BasisProvides basic runtime capabilities, such as global objects, utility functions, logging, timers, and event mechanisms
renderHandles the rendering engine for pages or components, including view updates and virtual DOM / render tree management
InterfaceProvides the UI component system and interaction capabilities, such as page structure, component library, style management, and user interaction handling
NetworkProvides networking capabilities, such as HTTP/HTTPS requests, WebSocket, upload/download, and request interception
Open APIsGet login credentials, basic user information, and user profile data
StorageProvides local data storage capabilities, such as cache, KV storage, and databases (e.g. IndexedDB / SQLite)
MediaChoose, preview, and save images; play and record audio and video
LocationProvides geolocation capabilities, such as positioning, coordinate retrieval, and map services
FileProvides file read/write and management capabilities, such as file upload/download and local file system access
PermissionManages system permission requests and validation, such as camera, microphone, and location permission control
DeviceProvides device-related capabilities, such as device information retrieval, sensors (accelerometer, gyroscope), and vibration
WorkerProvides multithreading or background task capabilities, such as Web Worker, for executing time-consuming tasks without blocking the main thread
WebAssembly APIsProvides WebAssembly support, enabling high-performance code (e.g. C/C++/Rust) to run at runtime
OtherProvides uncategorized extended capabilities, such as third-party plugins, experimental APIs, or platform-specific features