Chuyển đến nội dung chính

setTitle

Mô tả​

Chỉnh tiêu đề hiển thị ở webview

Parameters​

Tên ParamKiểu dữ liệuBắt buộcMô tả
titlestringCóTiêu đề ở thanh điều hướng webview

Return Value​

N/A

Mã Lỗi​

N/A

Code và Dữ liệu trả về mẫu​

Yêu cầu gửi đi mẫu:

window.zlpSdk.UI
.setTitle({ title: "Zalopay" })
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));

Dữ liệu trả về mẫu:

{ data: {}, status: "success" }