提交 da50d425 编写于 作者: L lixiang 提交者: 李想

fixed d9c92cf9 from https://gitee.com/li-xiang335/docs/pulls/17392

delete onFaviconReceived sample code of event info
Signed-off-by: Nlixiang <lixiang380@huawei.com>
上级 dcbf5226
......@@ -2857,7 +2857,7 @@ onFaviconReceived(callback: (event: {favicon: image.PixelMap}) => void)
Column() {
Web({ src:'www.example.com', controller: this.controller })
.onFaviconReceived((event) => {
console.log('onFaviconReceived:' + JSON.stringify(event))
console.log('onFaviconReceived');
this.icon = event.favicon;
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册