harmony 鸿蒙Web Component Overview

  • 2023-06-24
  • 浏览 (1052)

Web Component Overview

In addition to displaying web page content on applications, the Web component provides you with some other helpful functions, including:

  • Page loading: provides a full set of basic frontend page loading capabilities, which allow you to load network pages, local pages, and HTML text data.

  • Page interaction: supports a wide range of page interaction modes, which allow you to set the dark mode for frontend pages, load pages in a new window, manage location permissions and cookies, and use frontend page JavaScript code on the application.

  • Page debugging: uses DevTools to debug frontend pages.

To help you better understand the features of the Web component, the following sections will exemplify use of the Web component in common application scenarios.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Web

harmony 鸿蒙Establishing a Data Channel Between the Application and the Frontend Page

harmony 鸿蒙Managing Cookies and Data Storage

harmony 鸿蒙Debugging Frontend Pages by Using DevTools

harmony 鸿蒙Uploading Files

harmony 鸿蒙Managing Location Permissions

harmony 鸿蒙Invoking Frontend Page Functions on the Application

harmony 鸿蒙Invoking Application Functions on the Frontend Page

harmony 鸿蒙Opening Pages in a New Window

harmony 鸿蒙Loading Pages by Using the Web Component

0  赞