Module Description

This module provides the web control capability. For details about the web page display capability, see Components.

NOTE

  • The initial APIs of this module are supported since API version 9. Updates will be marked with a superscript to indicate their earliest API version.

  • The sample effect is subject to the actual device.

  • Static methods must be used on the user interface (UI) thread.

This module provides the following common functionalities for web control:

Required Permissions

ohos.permission.INTERNET, required for accessing online web pages. For details about how to apply for a permission, see Declaring Permissions.

Modules to Import

import { webview } from '@kit.ArkWeb';

System capability: SystemCapability.Web.Webview.Core