setTitle
Description
Adjust the title displayed in the webview
Parameters
Param | Data type | Required | Description |
---|---|---|---|
title | string | Yes | Title in webview navigation bar |
Return Value
N/A
Error Code
N/A
Sample Code and Sample Return Data
Sample Request:
window.zlpSdk.UI
.setTitle({ title: "Zalopay" })
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));
Sample Response:
{ data: {}, status: "success" }