HomeDocs
Skip to main content

dlt.openHybridH5Page

Introduction

Opens an H5 page within a native MiniApp.

Parameters

Object object

AttributeTypeDefault ValueRequiredDescription
urlstringYesThe URL of the H5 page to be opened.
successfunctionNoCallback function that is executed on successful API call.
failfunctionNoCallback function that is executed when the API call fails.
completefunctionNoCallback function that is executed when the API call is complete (executed on both success and failure).

Example Code

dlt.openHybridH5Page({
url: 'https://www.baidu.com',
});
Privacy agreementDeveloper agreementcontact us: developer_service.mi@transsion.com © 2024 MiniApp. All Rights Reserved.