/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface WebView { /** * 组件指向网页的链接。网页链接需登录字节小程序开发者平台配置业务域名。只支持 https 和 wss 协议。 */ src: string; /** * webview 的进度条颜色 */ "progressbar-color"?: string; /** * 若使用web-view组件引入第三方客服,必须填写type="im" */ type?: string; /** * 当网页通过 tt.miniProgram.postMessage 向小程序 postMessage 时,bindmessage 绑定的方法会在小程序的特定时机(小程序后退、组件销毁、分享)触发并收到消息。 */ bindMessage?: () => void; /** * 当网页加载完成时触发的消息 */ bindLoad?: () => void; /** * 当网页加载失败时触发的消息 */ bindError?: () => void; }